source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1StaticGeometry_1_1GeometryBucket.html @ 692

Revision 692, 75.9 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1<html>
2<head>
3<title>Ogre::StaticGeometry::GeometryBucket class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::StaticGeometry::GeometryBucket Class Reference</h1>A <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html">GeometryBucket</a> is a the lowest level bucket where geometry with the same vertex &amp; index format is stored. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for Ogre::StaticGeometry::GeometryBucket:
16<p><center><img src="classOgre_1_1StaticGeometry_1_1GeometryBucket.png" usemap="#Ogre::StaticGeometry::GeometryBucket_map" border="0" alt=""></center>
17<map name="Ogre::StaticGeometry::GeometryBucket_map">
18<area href="classOgre_1_1Renderable.html" alt="Ogre::Renderable" shape="rect" coords="0,0,230,24">
19</map>
20<a href="classOgre_1_1StaticGeometry_1_1GeometryBucket-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
21<tr><td></td></tr>
22<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
23<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa0">GeometryBucket</a> (<a class="el" href="classOgre_1_1StaticGeometry_1_1MaterialBucket.html">MaterialBucket</a> *parent, const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;formatString, const <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *vData, const <a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *iData)</td></tr>
24
25<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa1">~GeometryBucket</a> ()</td></tr>
26
27<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1StaticGeometry_1_1MaterialBucket.html">MaterialBucket</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa2">getParent</a> (void)</td></tr>
28
29<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa3">getVertexData</a> (void) const </td></tr>
30
31<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the vertex data for this geometry.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa3"></a><br><br></td></tr>
32<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa4">getIndexData</a> (void) const </td></tr>
33
34<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the index data for this geometry.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa4"></a><br><br></td></tr>
35<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1MaterialPtr.html">MaterialPtr</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa5">getMaterial</a> (void) const </td></tr>
36
37<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Remarks:</b></dt><dd>Note that the <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> also has the option to override the getTechnique method to specify a particular <a class="el" href="classOgre_1_1Technique.html">Technique</a> to use instead of the best one available.</dd></dl>
38  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa5"></a><br><br></td></tr>
39<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Technique.html">Technique</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa6">getTechnique</a> (void) const </td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a pointer to the <a class="el" href="classOgre_1_1Material.html">Material</a> <a class="el" href="classOgre_1_1Technique.html">Technique</a> this renderable object uses.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa6"></a><br><br></td></tr>
42<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa7">getRenderOperation</a> (<a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> &amp;op)</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the render operation required to send this object to the frame buffer.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa7"></a><br><br></td></tr>
45<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa8">getWorldTransforms</a> (<a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> *xform) const </td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the world transform matrix / matrices for this renderable object.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa8"></a><br><br></td></tr>
48<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa9">getWorldOrientation</a> (void) const </td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the worldspace orientation of this renderable; this is used in order to more efficiently update parameters to vertex &amp; fragment programs, since inverting Quaterion and Vector in order to derive object-space positions / directions for cameras and lights is much more efficient than inverting a complete 4x4 matrix, and also eliminates problems introduced by scaling.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa9"></a><br><br></td></tr>
51<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa10">getWorldPosition</a> (void) const </td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the worldspace orientation of this renderable; this is used in order to more efficiently update parameters to vertex &amp; fragment programs, since inverting Quaterion and Vector in order to derive object-space positions / directions for cameras and lights is much more efficient than inverting a complete 4x4 matrix, and also eliminates problems introduced by scaling.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa10"></a><br><br></td></tr>
54<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa11">getSquaredViewDepth</a> (const <a class="el" href="classOgre_1_1Camera.html">Camera</a> *cam) const </td></tr>
55
56<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the camera-relative squared depth of this renderable.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa11"></a><br><br></td></tr>
57<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a73">LightList</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa12">getLights</a> (void) const </td></tr>
58
59<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a list of lights, ordered relative to how close they are to this renderable.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa12"></a><br><br></td></tr>
60<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa13">getCastsShadows</a> (void) const </td></tr>
61
62<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method which reports whether this renderable would normally cast a shadow.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa13"></a><br><br></td></tr>
63<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa14">assign</a> (<a class="el" href="structOgre_1_1StaticGeometry_1_1QueuedGeometry.html">QueuedGeometry</a> *qsm)</td></tr>
64
65<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Try to assign geometry to this bucket.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa14"></a><br><br></td></tr>
66<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa15">build</a> (bool stencilShadows)</td></tr>
67
68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Build.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa15"></a><br><br></td></tr>
69<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketa16">dump</a> (std::ofstream &amp;of) const </td></tr>
70
71<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dump contents for diagnostics.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketa16"></a><br><br></td></tr>
72<tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned short&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa57">getNumWorldTransforms</a> (void) const </td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of world transform matrices this renderable requires.  <a href="#Ogre_1_1WireBoundingBoxa57"></a><br><br></td></tr>
75<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa58">useIdentityProjection</a> (void) const </td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether or not to use an 'identity' projection.  <a href="#Ogre_1_1WireBoundingBoxa58"></a><br><br></td></tr>
78<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa59">useIdentityView</a> (void) const </td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether or not to use an 'identity' projection.  <a href="#Ogre_1_1WireBoundingBoxa59"></a><br><br></td></tr>
81<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa60">getNormaliseNormals</a> (void) const </td></tr>
82
83<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether or not this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> wishes the hardware to normalise normals.  <a href="#Ogre_1_1WireBoundingBoxa60"></a><br><br></td></tr>
84<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="namespaceOgre.html#a453">PlaneList</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa61">getClipPlanes</a> () const </td></tr>
85
86<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa63">setCustomParameter</a> (size_t index, const <a class="el" href="classOgre_1_1Vector4.html">Vector4</a> &amp;value)</td></tr>
87
88<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a custom parameter for this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a>, which may be used to drive calculations for this specific <a class="el" href="classOgre_1_1Renderable.html">Renderable</a>, like GPU program parameters.  <a href="#Ogre_1_1WireBoundingBoxa63"></a><br><br></td></tr>
89<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector4.html">Vector4</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa64">getCustomParameter</a> (size_t index) const </td></tr>
90
91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the custom value associated with this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> at the given index.  <a href="#Ogre_1_1WireBoundingBoxa64"></a><br><br></td></tr>
92<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa65">_updateCustomGpuParameter</a> (const <a class="el" href="classOgre_1_1GpuProgramParameters_1_1AutoConstantEntry.html">GpuProgramParameters::AutoConstantEntry</a> &amp;constantEntry, <a class="el" href="classOgre_1_1GpuProgramParameters.html">GpuProgramParameters</a> *params) const </td></tr>
93
94<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update a custom <a class="el" href="classOgre_1_1GpuProgramParameters.html">GpuProgramParameters</a> constant which is derived from information only this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> knows.  <a href="#Ogre_1_1WireBoundingBoxa65"></a><br><br></td></tr>
95<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa66">setPolygonModeOverrideable</a> (bool override)</td></tr>
96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.  <a href="#Ogre_1_1WireBoundingBoxa66"></a><br><br></td></tr>
98<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa67">getPolygonModeOverrideable</a> (void) const </td></tr>
99
100<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.  <a href="#Ogre_1_1WireBoundingBoxa67"></a><br><br></td></tr>
101<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
102<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; size_t,<br>
103 <a class="el" href="classOgre_1_1Vector4.html">Vector4</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxx1">CustomParameterMap</a></td></tr>
104
105<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
106<tr><td class="memItemLeft" nowrap align=right valign=top>template&lt;typename T&gt; void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketb0">copyIndexes</a> (const T *src, T *dst, size_t count, size_t indexOffset)</td></tr>
107
108<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
109<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw4">QueuedGeometryList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp0">mQueuedGeometry</a></td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Geometry which has been queued up pre-build (not for deallocation).  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketp0"></a><br><br></td></tr>
112<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1StaticGeometry_1_1MaterialBucket.html">MaterialBucket</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp1">mParent</a></td></tr>
113
114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pointer to parent bucket.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketp1"></a><br><br></td></tr>
115<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp2">mFormatString</a></td></tr>
116
117<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">String identifying the vertex / index format.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketp2"></a><br><br></td></tr>
118<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp3">mVertexData</a></td></tr>
119
120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vertex information, includes current number of vertices committed to be a part of this bucket.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketp3"></a><br><br></td></tr>
121<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp4">mIndexData</a></td></tr>
122
123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Index information, includes index type which limits the max number of vertices which are allowed in one bucket.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketp4"></a><br><br></td></tr>
124<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">HardwareIndexBuffer::IndexType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp5">mIndexType</a></td></tr>
125
126<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of indexes.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketp5"></a><br><br></td></tr>
127<tr><td class="memItemLeft" nowrap align=right valign=top>size_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp6">mMaxVertexIndex</a></td></tr>
128
129<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum vertex indexable.  <a href="#Ogre_1_1StaticGeometry_1_1GeometryBucketp6"></a><br><br></td></tr>
130<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxx1">CustomParameterMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxp26">mCustomParameters</a></td></tr>
131
132<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxp27">mPolygonModeOverrideable</a></td></tr>
133
134<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
135<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a453">PlaneList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxt4">msDummyPlaneList</a></td></tr>
136
137</table>
138<hr><a name="_details"></a><h2>Detailed Description</h2>
139A <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html">GeometryBucket</a> is a the lowest level bucket where geometry with the same vertex &amp; index format is stored.
140<p>
141It also acts as the renderable.
142<p>
143
144<p>
145Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00176">176</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.<hr><h2>Member Typedef Documentation</h2>
146<a class="anchor" name="Ogre_1_1WireBoundingBoxx1" doxytag="Ogre::StaticGeometry::GeometryBucket::CustomParameterMap" ></a><p>
147<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
148  <tr>
149    <td class="mdRow">
150      <table cellpadding="0" cellspacing="0" border="0">
151        <tr>
152          <td class="md" nowrap valign="top"> typedef std::map&lt;size_t, <a class="el" href="classOgre_1_1Vector4.html">Vector4</a>&gt; <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxx1">Ogre::Renderable::CustomParameterMap</a><code> [protected, inherited]</code>
153      </table>
154    </td>
155  </tr>
156</table>
157<table cellspacing=5 cellpadding=0 border=0>
158  <tr>
159    <td>
160      &nbsp;
161    </td>
162    <td>
163
164<p>
165
166<p>
167Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00247">247</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
168  </tr>
169</table>
170<hr><h2>Constructor &amp; Destructor Documentation</h2>
171<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa0" doxytag="Ogre::StaticGeometry::GeometryBucket::GeometryBucket" ></a><p>
172<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
173  <tr>
174    <td class="mdRow">
175      <table cellpadding="0" cellspacing="0" border="0">
176        <tr>
177          <td class="md" nowrap valign="top"> Ogre::StaticGeometry::GeometryBucket::GeometryBucket </td>
178          <td class="md" valign="top">(&nbsp;</td>
179          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1StaticGeometry_1_1MaterialBucket.html">MaterialBucket</a> *&nbsp;</td>
180          <td class="mdname" nowrap> <em>parent</em>, </td>
181        </tr>
182        <tr>
183          <td class="md" nowrap align="right"></td>
184          <td></td>
185          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
186          <td class="mdname" nowrap> <em>formatString</em>, </td>
187        </tr>
188        <tr>
189          <td class="md" nowrap align="right"></td>
190          <td></td>
191          <td class="md" nowrap>const <a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *&nbsp;</td>
192          <td class="mdname" nowrap> <em>vData</em>, </td>
193        </tr>
194        <tr>
195          <td class="md" nowrap align="right"></td>
196          <td></td>
197          <td class="md" nowrap>const <a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *&nbsp;</td>
198          <td class="mdname" nowrap> <em>iData</em></td>
199        </tr>
200        <tr>
201          <td></td>
202          <td class="md">)&nbsp;</td>
203          <td class="md" colspan="2"></td>
204        </tr>
205
206      </table>
207    </td>
208  </tr>
209</table>
210<table cellspacing=5 cellpadding=0 border=0>
211  <tr>
212    <td>
213      &nbsp;
214    </td>
215    <td>
216
217<p>
218    </td>
219  </tr>
220</table>
221<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa1" doxytag="Ogre::StaticGeometry::GeometryBucket::~GeometryBucket" ></a><p>
222<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
223  <tr>
224    <td class="mdRow">
225      <table cellpadding="0" cellspacing="0" border="0">
226        <tr>
227          <td class="md" nowrap valign="top"> virtual Ogre::StaticGeometry::GeometryBucket::~<a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html">GeometryBucket</a> </td>
228          <td class="md" valign="top">(&nbsp;</td>
229          <td class="mdname1" valign="top" nowrap>          </td>
230          <td class="md" valign="top">&nbsp;)&nbsp;</td>
231          <td class="md" nowrap><code> [virtual]</code></td>
232        </tr>
233
234      </table>
235    </td>
236  </tr>
237</table>
238<table cellspacing=5 cellpadding=0 border=0>
239  <tr>
240    <td>
241      &nbsp;
242    </td>
243    <td>
244
245<p>
246    </td>
247  </tr>
248</table>
249<hr><h2>Member Function Documentation</h2>
250<a class="anchor" name="Ogre_1_1WireBoundingBoxa65" doxytag="Ogre::StaticGeometry::GeometryBucket::_updateCustomGpuParameter" ></a><p>
251<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
252  <tr>
253    <td class="mdRow">
254      <table cellpadding="0" cellspacing="0" border="0">
255        <tr>
256          <td class="md" nowrap valign="top"> virtual void Ogre::Renderable::_updateCustomGpuParameter </td>
257          <td class="md" valign="top">(&nbsp;</td>
258          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1GpuProgramParameters_1_1AutoConstantEntry.html">GpuProgramParameters::AutoConstantEntry</a> &amp;&nbsp;</td>
259          <td class="mdname" nowrap> <em>constantEntry</em>, </td>
260        </tr>
261        <tr>
262          <td class="md" nowrap align="right"></td>
263          <td></td>
264          <td class="md" nowrap><a class="el" href="classOgre_1_1GpuProgramParameters.html">GpuProgramParameters</a> *&nbsp;</td>
265          <td class="mdname" nowrap> <em>params</em></td>
266        </tr>
267        <tr>
268          <td></td>
269          <td class="md">)&nbsp;</td>
270          <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td>
271        </tr>
272
273      </table>
274    </td>
275  </tr>
276</table>
277<table cellspacing=5 cellpadding=0 border=0>
278  <tr>
279    <td>
280      &nbsp;
281    </td>
282    <td>
283
284<p>
285Update a custom <a class="el" href="classOgre_1_1GpuProgramParameters.html">GpuProgramParameters</a> constant which is derived from information only this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> knows.
286<p>
287<dl compact><dt><b>Remarks:</b></dt><dd>This method allows a <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> to map in a custom GPU program parameter based on it's own data. This is represented by a GPU auto parameter of ACT_CUSTOM, and to allow there to be more than one of these per <a class="el" href="classOgre_1_1Renderable.html">Renderable</a>, the 'data' field on the auto parameter will identify which parameter is being updated. The implementation of this method must identify the parameter being updated, and call a 'setConstant' method on the passed in <a class="el" href="classOgre_1_1GpuProgramParameters.html">GpuProgramParameters</a> object, using the details provided in the incoming auto constant setting to identify the index at which to set the parameter. </dd></dl>
288<dl compact><dt><b></b></dt><dd>You do not need to override this method if you're using the standard sets of data associated with the <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> as provided by setCustomParameter and getCustomParameter. By default, the implementation will map from the value indexed by the 'constantEntry.data' parameter to a value previously set by setCustomParameter. But custom Renderables are free to override this if they want, in any case. </dd></dl>
289<dl compact><dt><b>Parameters:</b></dt><dd>
290  <table border="0" cellspacing="2" cellpadding="0">
291    <tr><td valign=top><em>constantEntry</em>&nbsp;</td><td>The auto constant entry referring to the parameter being updated </td></tr>
292    <tr><td valign=top><em>params</em>&nbsp;</td><td>The parameters object which this method should call to set the updated parameters. </td></tr>
293  </table>
294</dl>
295
296<p>
297Reimplemented in <a class="el" href="classOgre_1_1SubEntity.html#Ogre_1_1SubEntitya26">Ogre::SubEntity</a>, and <a class="el" href="classOgre_1_1TerrainRenderable.html#Ogre_1_1TerrainRenderablea26">Ogre::TerrainRenderable</a>.
298<p>
299Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00215">215</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.
300<p>
301References <a class="el" href="OgreGpuProgram_8h-source.html#l00376">Ogre::GpuProgramParameters::AutoConstantEntry::data</a>, <a class="el" href="OgreGpuProgram_8h-source.html#l00373">Ogre::GpuProgramParameters::AutoConstantEntry::index</a>, and <a class="el" href="classOgre_1_1GpuProgramParameters.html#Ogre_1_1GpuProgramParametersa4">Ogre::GpuProgramParameters::setConstant()</a>.    </td>
302  </tr>
303</table>
304<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa14" doxytag="Ogre::StaticGeometry::GeometryBucket::assign" ></a><p>
305<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
306  <tr>
307    <td class="mdRow">
308      <table cellpadding="0" cellspacing="0" border="0">
309        <tr>
310          <td class="md" nowrap valign="top"> bool Ogre::StaticGeometry::GeometryBucket::assign </td>
311          <td class="md" valign="top">(&nbsp;</td>
312          <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1StaticGeometry_1_1QueuedGeometry.html">QueuedGeometry</a> *&nbsp;</td>
313          <td class="mdname1" valign="top" nowrap> <em>qsm</em>          </td>
314          <td class="md" valign="top">&nbsp;)&nbsp;</td>
315          <td class="md" nowrap></td>
316        </tr>
317
318      </table>
319    </td>
320  </tr>
321</table>
322<table cellspacing=5 cellpadding=0 border=0>
323  <tr>
324    <td>
325      &nbsp;
326    </td>
327    <td>
328
329<p>
330Try to assign geometry to this bucket.
331<p>
332<dl compact><dt><b>Returns:</b></dt><dd>false if there is no room left in this bucket</dd></dl>
333    </td>
334  </tr>
335</table>
336<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa15" doxytag="Ogre::StaticGeometry::GeometryBucket::build" ></a><p>
337<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
338  <tr>
339    <td class="mdRow">
340      <table cellpadding="0" cellspacing="0" border="0">
341        <tr>
342          <td class="md" nowrap valign="top"> void Ogre::StaticGeometry::GeometryBucket::build </td>
343          <td class="md" valign="top">(&nbsp;</td>
344          <td class="md" nowrap valign="top">bool&nbsp;</td>
345          <td class="mdname1" valign="top" nowrap> <em>stencilShadows</em>          </td>
346          <td class="md" valign="top">&nbsp;)&nbsp;</td>
347          <td class="md" nowrap></td>
348        </tr>
349
350      </table>
351    </td>
352  </tr>
353</table>
354<table cellspacing=5 cellpadding=0 border=0>
355  <tr>
356    <td>
357      &nbsp;
358    </td>
359    <td>
360
361<p>
362Build.
363<p>
364    </td>
365  </tr>
366</table>
367<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketb0" doxytag="Ogre::StaticGeometry::GeometryBucket::copyIndexes" ></a><p>
368<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
369  <tr>
370    <td class="mdRow">
371      <table cellpadding="0" cellspacing="0" border="0">
372        <tr>
373          <td class="md" colspan="4">
374template&lt;typename T&gt; </td>
375        </tr>
376        <tr>
377          <td class="md" nowrap valign="top"> void Ogre::StaticGeometry::GeometryBucket::copyIndexes </td>
378          <td class="md" valign="top">(&nbsp;</td>
379          <td class="md" nowrap valign="top">const T *&nbsp;</td>
380          <td class="mdname" nowrap> <em>src</em>, </td>
381        </tr>
382        <tr>
383          <td class="md" nowrap align="right"></td>
384          <td></td>
385          <td class="md" nowrap>T *&nbsp;</td>
386          <td class="mdname" nowrap> <em>dst</em>, </td>
387        </tr>
388        <tr>
389          <td class="md" nowrap align="right"></td>
390          <td></td>
391          <td class="md" nowrap>size_t&nbsp;</td>
392          <td class="mdname" nowrap> <em>count</em>, </td>
393        </tr>
394        <tr>
395          <td class="md" nowrap align="right"></td>
396          <td></td>
397          <td class="md" nowrap>size_t&nbsp;</td>
398          <td class="mdname" nowrap> <em>indexOffset</em></td>
399        </tr>
400        <tr>
401          <td></td>
402          <td class="md">)&nbsp;</td>
403          <td class="md" colspan="2"><code> [protected]</code></td>
404        </tr>
405
406      </table>
407    </td>
408  </tr>
409</table>
410<table cellspacing=5 cellpadding=0 border=0>
411  <tr>
412    <td>
413      &nbsp;
414    </td>
415    <td>
416
417<p>
418
419<p>
420Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00197">197</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
421  </tr>
422</table>
423<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa16" doxytag="Ogre::StaticGeometry::GeometryBucket::dump" ></a><p>
424<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
425  <tr>
426    <td class="mdRow">
427      <table cellpadding="0" cellspacing="0" border="0">
428        <tr>
429          <td class="md" nowrap valign="top"> void Ogre::StaticGeometry::GeometryBucket::dump </td>
430          <td class="md" valign="top">(&nbsp;</td>
431          <td class="md" nowrap valign="top">std::ofstream &amp;&nbsp;</td>
432          <td class="mdname1" valign="top" nowrap> <em>of</em>          </td>
433          <td class="md" valign="top">&nbsp;)&nbsp;</td>
434          <td class="md" nowrap> const</td>
435        </tr>
436
437      </table>
438    </td>
439  </tr>
440</table>
441<table cellspacing=5 cellpadding=0 border=0>
442  <tr>
443    <td>
444      &nbsp;
445    </td>
446    <td>
447
448<p>
449Dump contents for diagnostics.
450<p>
451    </td>
452  </tr>
453</table>
454<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa13" doxytag="Ogre::StaticGeometry::GeometryBucket::getCastsShadows" ></a><p>
455<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
456  <tr>
457    <td class="mdRow">
458      <table cellpadding="0" cellspacing="0" border="0">
459        <tr>
460          <td class="md" nowrap valign="top"> bool Ogre::StaticGeometry::GeometryBucket::getCastsShadows </td>
461          <td class="md" valign="top">(&nbsp;</td>
462          <td class="md" nowrap valign="top">void&nbsp;</td>
463          <td class="mdname1" valign="top" nowrap>          </td>
464          <td class="md" valign="top">&nbsp;)&nbsp;</td>
465          <td class="md" nowrap> const<code> [virtual]</code></td>
466        </tr>
467
468      </table>
469    </td>
470  </tr>
471</table>
472<table cellspacing=5 cellpadding=0 border=0>
473  <tr>
474    <td>
475      &nbsp;
476    </td>
477    <td>
478
479<p>
480Method which reports whether this renderable would normally cast a shadow.
481<p>
482<dl compact><dt><b>Remarks:</b></dt><dd>Subclasses should override this if they could have been used to generate a shadow. </dd></dl>
483
484<p>
485Reimplemented from <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa62">Ogre::Renderable</a>.    </td>
486  </tr>
487</table>
488<a class="anchor" name="Ogre_1_1WireBoundingBoxa61" doxytag="Ogre::StaticGeometry::GeometryBucket::getClipPlanes" ></a><p>
489<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
490  <tr>
491    <td class="mdRow">
492      <table cellpadding="0" cellspacing="0" border="0">
493        <tr>
494          <td class="md" nowrap valign="top"> virtual const <a class="el" href="namespaceOgre.html#a453">PlaneList</a>&amp; Ogre::Renderable::getClipPlanes </td>
495          <td class="md" valign="top">(&nbsp;</td>
496          <td class="mdname1" valign="top" nowrap>          </td>
497          <td class="md" valign="top">&nbsp;)&nbsp;</td>
498          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
499        </tr>
500
501      </table>
502    </td>
503  </tr>
504</table>
505<table cellspacing=5 cellpadding=0 border=0>
506  <tr>
507    <td>
508      &nbsp;
509    </td>
510    <td>
511
512<p>
513
514<p>
515Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00142">142</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.
516<p>
517References <a class="el" href="OgrePlane_8h-source.html#l00109">Ogre::PlaneList</a>.    </td>
518  </tr>
519</table>
520<a class="anchor" name="Ogre_1_1WireBoundingBoxa64" doxytag="Ogre::StaticGeometry::GeometryBucket::getCustomParameter" ></a><p>
521<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
522  <tr>
523    <td class="mdRow">
524      <table cellpadding="0" cellspacing="0" border="0">
525        <tr>
526          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector4.html">Vector4</a>&amp; Ogre::Renderable::getCustomParameter </td>
527          <td class="md" valign="top">(&nbsp;</td>
528          <td class="md" nowrap valign="top">size_t&nbsp;</td>
529          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
530          <td class="md" valign="top">&nbsp;)&nbsp;</td>
531          <td class="md" nowrap> const<code> [inherited]</code></td>
532        </tr>
533
534      </table>
535    </td>
536  </tr>
537</table>
538<table cellspacing=5 cellpadding=0 border=0>
539  <tr>
540    <td>
541      &nbsp;
542    </td>
543    <td>
544
545<p>
546Gets the custom value associated with this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> at the given index.
547<p>
548<dl compact><dt><b>Parameters:</b></dt><dd>
549  <table border="0" cellspacing="2" cellpadding="0">
550    <tr><td valign=top><em>@see</em>&nbsp;</td><td>setCustomParaemter for full details. </td></tr>
551  </table>
552</dl>
553
554<p>
555Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00176">176</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.
556<p>
557References <a class="el" href="OgreException_8h-source.html#l00033">OGRE_EXCEPT</a>.    </td>
558  </tr>
559</table>
560<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa4" doxytag="Ogre::StaticGeometry::GeometryBucket::getIndexData" ></a><p>
561<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
562  <tr>
563    <td class="mdRow">
564      <table cellpadding="0" cellspacing="0" border="0">
565        <tr>
566          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1IndexData.html">IndexData</a>* Ogre::StaticGeometry::GeometryBucket::getIndexData </td>
567          <td class="md" valign="top">(&nbsp;</td>
568          <td class="md" nowrap valign="top">void&nbsp;</td>
569          <td class="mdname1" valign="top" nowrap>          </td>
570          <td class="md" valign="top">&nbsp;)&nbsp;</td>
571          <td class="md" nowrap> const</td>
572        </tr>
573
574      </table>
575    </td>
576  </tr>
577</table>
578<table cellspacing=5 cellpadding=0 border=0>
579  <tr>
580    <td>
581      &nbsp;
582    </td>
583    <td>
584
585<p>
586Get the index data for this geometry.
587<p>
588
589<p>
590Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00219">219</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
591  </tr>
592</table>
593<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa12" doxytag="Ogre::StaticGeometry::GeometryBucket::getLights" ></a><p>
594<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
595  <tr>
596    <td class="mdRow">
597      <table cellpadding="0" cellspacing="0" border="0">
598        <tr>
599          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a73">LightList</a>&amp; Ogre::StaticGeometry::GeometryBucket::getLights </td>
600          <td class="md" valign="top">(&nbsp;</td>
601          <td class="md" nowrap valign="top">void&nbsp;</td>
602          <td class="mdname1" valign="top" nowrap>          </td>
603          <td class="md" valign="top">&nbsp;)&nbsp;</td>
604          <td class="md" nowrap> const<code> [virtual]</code></td>
605        </tr>
606
607      </table>
608    </td>
609  </tr>
610</table>
611<table cellspacing=5 cellpadding=0 border=0>
612  <tr>
613    <td>
614      &nbsp;
615    </td>
616    <td>
617
618<p>
619Gets a list of lights, ordered relative to how close they are to this renderable.
620<p>
621<dl compact><dt><b>Remarks:</b></dt><dd>Directional lights, which have no position, will always be first on this list. </dd></dl>
622
623<p>
624Implements <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1Renderablea13">Ogre::Renderable</a>.    </td>
625  </tr>
626</table>
627<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa5" doxytag="Ogre::StaticGeometry::GeometryBucket::getMaterial" ></a><p>
628<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
629  <tr>
630    <td class="mdRow">
631      <table cellpadding="0" cellspacing="0" border="0">
632        <tr>
633          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1MaterialPtr.html">MaterialPtr</a>&amp; Ogre::StaticGeometry::GeometryBucket::getMaterial </td>
634          <td class="md" valign="top">(&nbsp;</td>
635          <td class="md" nowrap valign="top">void&nbsp;</td>
636          <td class="mdname1" valign="top" nowrap>          </td>
637          <td class="md" valign="top">&nbsp;)&nbsp;</td>
638          <td class="md" nowrap> const<code> [virtual]</code></td>
639        </tr>
640
641      </table>
642    </td>
643  </tr>
644</table>
645<table cellspacing=5 cellpadding=0 border=0>
646  <tr>
647    <td>
648      &nbsp;
649    </td>
650    <td>
651
652<p>
653<dl compact><dt><b>Remarks:</b></dt><dd>Note that the <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> also has the option to override the getTechnique method to specify a particular <a class="el" href="classOgre_1_1Technique.html">Technique</a> to use instead of the best one available.</dd></dl>
654 
655<p>
656
657<p>
658Implements <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1Renderablea2">Ogre::Renderable</a>.    </td>
659  </tr>
660</table>
661<a class="anchor" name="Ogre_1_1WireBoundingBoxa60" doxytag="Ogre::StaticGeometry::GeometryBucket::getNormaliseNormals" ></a><p>
662<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
663  <tr>
664    <td class="mdRow">
665      <table cellpadding="0" cellspacing="0" border="0">
666        <tr>
667          <td class="md" nowrap valign="top"> virtual bool Ogre::Renderable::getNormaliseNormals </td>
668          <td class="md" valign="top">(&nbsp;</td>
669          <td class="md" nowrap valign="top">void&nbsp;</td>
670          <td class="mdname1" valign="top" nowrap>          </td>
671          <td class="md" valign="top">&nbsp;)&nbsp;</td>
672          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
673        </tr>
674
675      </table>
676    </td>
677  </tr>
678</table>
679<table cellspacing=5 cellpadding=0 border=0>
680  <tr>
681    <td>
682      &nbsp;
683    </td>
684    <td>
685
686<p>
687Returns whether or not this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> wishes the hardware to normalise normals.
688<p>
689
690<p>
691Reimplemented in <a class="el" href="classOgre_1_1SubEntity.html#Ogre_1_1SubEntitya11">Ogre::SubEntity</a>.
692<p>
693Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00134">134</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
694  </tr>
695</table>
696<a class="anchor" name="Ogre_1_1WireBoundingBoxa57" doxytag="Ogre::StaticGeometry::GeometryBucket::getNumWorldTransforms" ></a><p>
697<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
698  <tr>
699    <td class="mdRow">
700      <table cellpadding="0" cellspacing="0" border="0">
701        <tr>
702          <td class="md" nowrap valign="top"> virtual unsigned short Ogre::Renderable::getNumWorldTransforms </td>
703          <td class="md" valign="top">(&nbsp;</td>
704          <td class="md" nowrap valign="top">void&nbsp;</td>
705          <td class="mdname1" valign="top" nowrap>          </td>
706          <td class="md" valign="top">&nbsp;)&nbsp;</td>
707          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
708        </tr>
709
710      </table>
711    </td>
712  </tr>
713</table>
714<table cellspacing=5 cellpadding=0 border=0>
715  <tr>
716    <td>
717      &nbsp;
718    </td>
719    <td>
720
721<p>
722Returns the number of world transform matrices this renderable requires.
723<p>
724<dl compact><dt><b>Remarks:</b></dt><dd>When a renderable uses vertex blending, it uses multiple world matrices instead of a single one. Each vertex sent to the pipeline can reference one or more matrices in this list with given weights. If a renderable does not use vertex blending this method returns 1, which is the default for simplicity. </dd></dl>
725
726<p>
727Reimplemented in <a class="el" href="classOgre_1_1BorderRenderable.html#Ogre_1_1BorderRenderablea6">Ogre::BorderRenderable</a>, and <a class="el" href="classOgre_1_1SubEntity.html#Ogre_1_1SubEntitya12">Ogre::SubEntity</a>.
728<p>
729Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00104">104</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
730  </tr>
731</table>
732<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa2" doxytag="Ogre::StaticGeometry::GeometryBucket::getParent" ></a><p>
733<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
734  <tr>
735    <td class="mdRow">
736      <table cellpadding="0" cellspacing="0" border="0">
737        <tr>
738          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1StaticGeometry_1_1MaterialBucket.html">MaterialBucket</a>* Ogre::StaticGeometry::GeometryBucket::getParent </td>
739          <td class="md" valign="top">(&nbsp;</td>
740          <td class="md" nowrap valign="top">void&nbsp;</td>
741          <td class="mdname1" valign="top" nowrap>          </td>
742          <td class="md" valign="top">&nbsp;)&nbsp;</td>
743          <td class="md" nowrap></td>
744        </tr>
745
746      </table>
747    </td>
748  </tr>
749</table>
750<table cellspacing=5 cellpadding=0 border=0>
751  <tr>
752    <td>
753      &nbsp;
754    </td>
755    <td>
756
757<p>
758
759<p>
760Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00215">215</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
761  </tr>
762</table>
763<a class="anchor" name="Ogre_1_1WireBoundingBoxa67" doxytag="Ogre::StaticGeometry::GeometryBucket::getPolygonModeOverrideable" ></a><p>
764<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
765  <tr>
766    <td class="mdRow">
767      <table cellpadding="0" cellspacing="0" border="0">
768        <tr>
769          <td class="md" nowrap valign="top"> virtual bool Ogre::Renderable::getPolygonModeOverrideable </td>
770          <td class="md" valign="top">(&nbsp;</td>
771          <td class="md" nowrap valign="top">void&nbsp;</td>
772          <td class="mdname1" valign="top" nowrap>          </td>
773          <td class="md" valign="top">&nbsp;)&nbsp;</td>
774          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
775        </tr>
776
777      </table>
778    </td>
779  </tr>
780</table>
781<table cellspacing=5 cellpadding=0 border=0>
782  <tr>
783    <td>
784      &nbsp;
785    </td>
786    <td>
787
788<p>
789Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
790<p>
791
792<p>
793Reimplemented in <a class="el" href="classOgre_1_1BorderRenderable.html#Ogre_1_1BorderRenderablea11">Ogre::BorderRenderable</a>.
794<p>
795Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00239">239</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
796  </tr>
797</table>
798<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa7" doxytag="Ogre::StaticGeometry::GeometryBucket::getRenderOperation" ></a><p>
799<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
800  <tr>
801    <td class="mdRow">
802      <table cellpadding="0" cellspacing="0" border="0">
803        <tr>
804          <td class="md" nowrap valign="top"> void Ogre::StaticGeometry::GeometryBucket::getRenderOperation </td>
805          <td class="md" valign="top">(&nbsp;</td>
806          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> &amp;&nbsp;</td>
807          <td class="mdname1" valign="top" nowrap> <em>op</em>          </td>
808          <td class="md" valign="top">&nbsp;)&nbsp;</td>
809          <td class="md" nowrap><code> [virtual]</code></td>
810        </tr>
811
812      </table>
813    </td>
814  </tr>
815</table>
816<table cellspacing=5 cellpadding=0 border=0>
817  <tr>
818    <td>
819      &nbsp;
820    </td>
821    <td>
822
823<p>
824Gets the render operation required to send this object to the frame buffer.
825<p>
826
827<p>
828Implements <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1Renderablea4">Ogre::Renderable</a>.    </td>
829  </tr>
830</table>
831<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa11" doxytag="Ogre::StaticGeometry::GeometryBucket::getSquaredViewDepth" ></a><p>
832<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
833  <tr>
834    <td class="mdRow">
835      <table cellpadding="0" cellspacing="0" border="0">
836        <tr>
837          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::StaticGeometry::GeometryBucket::getSquaredViewDepth </td>
838          <td class="md" valign="top">(&nbsp;</td>
839          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Camera.html">Camera</a> *&nbsp;</td>
840          <td class="mdname1" valign="top" nowrap> <em>cam</em>          </td>
841          <td class="md" valign="top">&nbsp;)&nbsp;</td>
842          <td class="md" nowrap> const<code> [virtual]</code></td>
843        </tr>
844
845      </table>
846    </td>
847  </tr>
848</table>
849<table cellspacing=5 cellpadding=0 border=0>
850  <tr>
851    <td>
852      &nbsp;
853    </td>
854    <td>
855
856<p>
857Returns the camera-relative squared depth of this renderable.
858<p>
859<dl compact><dt><b>Remarks:</b></dt><dd>Used to sort transparent objects. Squared depth is used rather than actual depth to avoid having to perform a square root on the result.</dd></dl>
860
861<p>
862Implements <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1SimpleRenderablea61">Ogre::Renderable</a>.    </td>
863  </tr>
864</table>
865<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa6" doxytag="Ogre::StaticGeometry::GeometryBucket::getTechnique" ></a><p>
866<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
867  <tr>
868    <td class="mdRow">
869      <table cellpadding="0" cellspacing="0" border="0">
870        <tr>
871          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Technique.html">Technique</a>* Ogre::StaticGeometry::GeometryBucket::getTechnique </td>
872          <td class="md" valign="top">(&nbsp;</td>
873          <td class="md" nowrap valign="top">void&nbsp;</td>
874          <td class="mdname1" valign="top" nowrap>          </td>
875          <td class="md" valign="top">&nbsp;)&nbsp;</td>
876          <td class="md" nowrap> const<code> [virtual]</code></td>
877        </tr>
878
879      </table>
880    </td>
881  </tr>
882</table>
883<table cellspacing=5 cellpadding=0 border=0>
884  <tr>
885    <td>
886      &nbsp;
887    </td>
888    <td>
889
890<p>
891Retrieves a pointer to the <a class="el" href="classOgre_1_1Material.html">Material</a> <a class="el" href="classOgre_1_1Technique.html">Technique</a> this renderable object uses.
892<p>
893<dl compact><dt><b>Remarks:</b></dt><dd>This is to allow Renderables to use a chosen <a class="el" href="classOgre_1_1Technique.html">Technique</a> if they wish, otherwise they will use the best <a class="el" href="classOgre_1_1Technique.html">Technique</a> available for the <a class="el" href="classOgre_1_1Material.html">Material</a> they are using. </dd></dl>
894
895<p>
896Reimplemented from <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxa56">Ogre::Renderable</a>.    </td>
897  </tr>
898</table>
899<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa3" doxytag="Ogre::StaticGeometry::GeometryBucket::getVertexData" ></a><p>
900<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
901  <tr>
902    <td class="mdRow">
903      <table cellpadding="0" cellspacing="0" border="0">
904        <tr>
905          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1VertexData.html">VertexData</a>* Ogre::StaticGeometry::GeometryBucket::getVertexData </td>
906          <td class="md" valign="top">(&nbsp;</td>
907          <td class="md" nowrap valign="top">void&nbsp;</td>
908          <td class="mdname1" valign="top" nowrap>          </td>
909          <td class="md" valign="top">&nbsp;)&nbsp;</td>
910          <td class="md" nowrap> const</td>
911        </tr>
912
913      </table>
914    </td>
915  </tr>
916</table>
917<table cellspacing=5 cellpadding=0 border=0>
918  <tr>
919    <td>
920      &nbsp;
921    </td>
922    <td>
923
924<p>
925Get the vertex data for this geometry.
926<p>
927
928<p>
929Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00217">217</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
930  </tr>
931</table>
932<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa9" doxytag="Ogre::StaticGeometry::GeometryBucket::getWorldOrientation" ></a><p>
933<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
934  <tr>
935    <td class="mdRow">
936      <table cellpadding="0" cellspacing="0" border="0">
937        <tr>
938          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a>&amp; Ogre::StaticGeometry::GeometryBucket::getWorldOrientation </td>
939          <td class="md" valign="top">(&nbsp;</td>
940          <td class="md" nowrap valign="top">void&nbsp;</td>
941          <td class="mdname1" valign="top" nowrap>          </td>
942          <td class="md" valign="top">&nbsp;)&nbsp;</td>
943          <td class="md" nowrap> const<code> [virtual]</code></td>
944        </tr>
945
946      </table>
947    </td>
948  </tr>
949</table>
950<table cellspacing=5 cellpadding=0 border=0>
951  <tr>
952    <td>
953      &nbsp;
954    </td>
955    <td>
956
957<p>
958Gets the worldspace orientation of this renderable; this is used in order to more efficiently update parameters to vertex &amp; fragment programs, since inverting Quaterion and Vector in order to derive object-space positions / directions for cameras and lights is much more efficient than inverting a complete 4x4 matrix, and also eliminates problems introduced by scaling.
959<p>
960
961<p>
962Implements <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1Renderablea6">Ogre::Renderable</a>.    </td>
963  </tr>
964</table>
965<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa10" doxytag="Ogre::StaticGeometry::GeometryBucket::getWorldPosition" ></a><p>
966<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
967  <tr>
968    <td class="mdRow">
969      <table cellpadding="0" cellspacing="0" border="0">
970        <tr>
971          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::StaticGeometry::GeometryBucket::getWorldPosition </td>
972          <td class="md" valign="top">(&nbsp;</td>
973          <td class="md" nowrap valign="top">void&nbsp;</td>
974          <td class="mdname1" valign="top" nowrap>          </td>
975          <td class="md" valign="top">&nbsp;)&nbsp;</td>
976          <td class="md" nowrap> const<code> [virtual]</code></td>
977        </tr>
978
979      </table>
980    </td>
981  </tr>
982</table>
983<table cellspacing=5 cellpadding=0 border=0>
984  <tr>
985    <td>
986      &nbsp;
987    </td>
988    <td>
989
990<p>
991Gets the worldspace orientation of this renderable; this is used in order to more efficiently update parameters to vertex &amp; fragment programs, since inverting Quaterion and Vector in order to derive object-space positions / directions for cameras and lights is much more efficient than inverting a complete 4x4 matrix, and also eliminates problems introduced by scaling.
992<p>
993
994<p>
995Implements <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1Renderablea7">Ogre::Renderable</a>.    </td>
996  </tr>
997</table>
998<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketa8" doxytag="Ogre::StaticGeometry::GeometryBucket::getWorldTransforms" ></a><p>
999<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1000  <tr>
1001    <td class="mdRow">
1002      <table cellpadding="0" cellspacing="0" border="0">
1003        <tr>
1004          <td class="md" nowrap valign="top"> void Ogre::StaticGeometry::GeometryBucket::getWorldTransforms </td>
1005          <td class="md" valign="top">(&nbsp;</td>
1006          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> *&nbsp;</td>
1007          <td class="mdname1" valign="top" nowrap> <em>xform</em>          </td>
1008          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1009          <td class="md" nowrap> const<code> [virtual]</code></td>
1010        </tr>
1011
1012      </table>
1013    </td>
1014  </tr>
1015</table>
1016<table cellspacing=5 cellpadding=0 border=0>
1017  <tr>
1018    <td>
1019      &nbsp;
1020    </td>
1021    <td>
1022
1023<p>
1024Gets the world transform matrix / matrices for this renderable object.
1025<p>
1026<dl compact><dt><b>Remarks:</b></dt><dd>If the object has any derived transforms, these are expected to be up to date as long as all the <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> structures have been updated before this is called. </dd></dl>
1027<dl compact><dt><b></b></dt><dd>This method will populate xform with 1 matrix if it does not use vertex blending. If it does use vertex blending it will fill the passed in pointer with an array of matrices, the length being the value returned from getNumWorldTransforms. </dd></dl>
1028
1029<p>
1030Implements <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1Renderablea5">Ogre::Renderable</a>.    </td>
1031  </tr>
1032</table>
1033<a class="anchor" name="Ogre_1_1WireBoundingBoxa63" doxytag="Ogre::StaticGeometry::GeometryBucket::setCustomParameter" ></a><p>
1034<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1035  <tr>
1036    <td class="mdRow">
1037      <table cellpadding="0" cellspacing="0" border="0">
1038        <tr>
1039          <td class="md" nowrap valign="top"> void Ogre::Renderable::setCustomParameter </td>
1040          <td class="md" valign="top">(&nbsp;</td>
1041          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1042          <td class="mdname" nowrap> <em>index</em>, </td>
1043        </tr>
1044        <tr>
1045          <td class="md" nowrap align="right"></td>
1046          <td></td>
1047          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector4.html">Vector4</a> &amp;&nbsp;</td>
1048          <td class="mdname" nowrap> <em>value</em></td>
1049        </tr>
1050        <tr>
1051          <td></td>
1052          <td class="md">)&nbsp;</td>
1053          <td class="md" colspan="2"><code> [inherited]</code></td>
1054        </tr>
1055
1056      </table>
1057    </td>
1058  </tr>
1059</table>
1060<table cellspacing=5 cellpadding=0 border=0>
1061  <tr>
1062    <td>
1063      &nbsp;
1064    </td>
1065    <td>
1066
1067<p>
1068Sets a custom parameter for this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a>, which may be used to drive calculations for this specific <a class="el" href="classOgre_1_1Renderable.html">Renderable</a>, like GPU program parameters.
1069<p>
1070<dl compact><dt><b>Remarks:</b></dt><dd>Calling this method simply associates a numeric index with a 4-dimensional value for this specific <a class="el" href="classOgre_1_1Renderable.html">Renderable</a>. This is most useful if the material which this <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> uses a vertex or fragment program, and has an ACT_CUSTOM parameter entry. This parameter entry can refer to the index you specify as part of this call, thereby mapping a custom parameter for this renderable to a program parameter. </dd></dl>
1071<dl compact><dt><b>Parameters:</b></dt><dd>
1072  <table border="0" cellspacing="2" cellpadding="0">
1073    <tr><td valign=top><em>index</em>&nbsp;</td><td>The index with which to associate the value. Note that this does not have to start at 0, and can include gaps. It also has no direct correlation with a GPU program parameter index - the mapping between the two is performed by the ACT_CUSTOM entry, if that is used. </td></tr>
1074    <tr><td valign=top><em>value</em>&nbsp;</td><td>The value to associate. </td></tr>
1075  </table>
1076</dl>
1077
1078<p>
1079Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00167">167</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
1080  </tr>
1081</table>
1082<a class="anchor" name="Ogre_1_1WireBoundingBoxa66" doxytag="Ogre::StaticGeometry::GeometryBucket::setPolygonModeOverrideable" ></a><p>
1083<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1084  <tr>
1085    <td class="mdRow">
1086      <table cellpadding="0" cellspacing="0" border="0">
1087        <tr>
1088          <td class="md" nowrap valign="top"> virtual void Ogre::Renderable::setPolygonModeOverrideable </td>
1089          <td class="md" valign="top">(&nbsp;</td>
1090          <td class="md" nowrap valign="top">bool&nbsp;</td>
1091          <td class="mdname1" valign="top" nowrap> <em>override</em>          </td>
1092          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1093          <td class="md" nowrap><code> [virtual, inherited]</code></td>
1094        </tr>
1095
1096      </table>
1097    </td>
1098  </tr>
1099</table>
1100<table cellspacing=5 cellpadding=0 border=0>
1101  <tr>
1102    <td>
1103      &nbsp;
1104    </td>
1105    <td>
1106
1107<p>
1108Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
1109<p>
1110<dl compact><dt><b>Parameters:</b></dt><dd>
1111  <table border="0" cellspacing="2" cellpadding="0">
1112    <tr><td valign=top><em>override</em>&nbsp;</td><td>true means that a lower camera detail will override this renderables detail level, false means it won't.</td></tr>
1113  </table>
1114</dl>
1115
1116<p>
1117Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00231">231</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
1118  </tr>
1119</table>
1120<a class="anchor" name="Ogre_1_1WireBoundingBoxa58" doxytag="Ogre::StaticGeometry::GeometryBucket::useIdentityProjection" ></a><p>
1121<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1122  <tr>
1123    <td class="mdRow">
1124      <table cellpadding="0" cellspacing="0" border="0">
1125        <tr>
1126          <td class="md" nowrap valign="top"> virtual bool Ogre::Renderable::useIdentityProjection </td>
1127          <td class="md" valign="top">(&nbsp;</td>
1128          <td class="md" nowrap valign="top">void&nbsp;</td>
1129          <td class="mdname1" valign="top" nowrap>          </td>
1130          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1131          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
1132        </tr>
1133
1134      </table>
1135    </td>
1136  </tr>
1137</table>
1138<table cellspacing=5 cellpadding=0 border=0>
1139  <tr>
1140    <td>
1141      &nbsp;
1142    </td>
1143    <td>
1144
1145<p>
1146Returns whether or not to use an 'identity' projection.
1147<p>
1148<dl compact><dt><b>Remarks:</b></dt><dd>Usually <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> objects will use a projection matrix as determined by the active camera. However, if they want they can cancel this out and use an identity projection, which effectively projects in 2D using a {-1, 1} view space. Useful for overlay rendering. Normal renderables need not override this. </dd></dl>
1149
1150<p>
1151Reimplemented in <a class="el" href="classOgre_1_1BorderRenderable.html#Ogre_1_1BorderRenderablea7">Ogre::BorderRenderable</a>, <a class="el" href="classOgre_1_1OverlayElement.html#Ogre_1_1TextAreaOverlayElementa55">Ogre::OverlayElement</a>, and <a class="el" href="classOgre_1_1Rectangle2D.html#Ogre_1_1Rectangle2Da5">Ogre::Rectangle2D</a>.
1152<p>
1153Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00114">114</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
1154  </tr>
1155</table>
1156<a class="anchor" name="Ogre_1_1WireBoundingBoxa59" doxytag="Ogre::StaticGeometry::GeometryBucket::useIdentityView" ></a><p>
1157<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1158  <tr>
1159    <td class="mdRow">
1160      <table cellpadding="0" cellspacing="0" border="0">
1161        <tr>
1162          <td class="md" nowrap valign="top"> virtual bool Ogre::Renderable::useIdentityView </td>
1163          <td class="md" valign="top">(&nbsp;</td>
1164          <td class="md" nowrap valign="top">void&nbsp;</td>
1165          <td class="mdname1" valign="top" nowrap>          </td>
1166          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1167          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
1168        </tr>
1169
1170      </table>
1171    </td>
1172  </tr>
1173</table>
1174<table cellspacing=5 cellpadding=0 border=0>
1175  <tr>
1176    <td>
1177      &nbsp;
1178    </td>
1179    <td>
1180
1181<p>
1182Returns whether or not to use an 'identity' projection.
1183<p>
1184<dl compact><dt><b>Remarks:</b></dt><dd>Usually <a class="el" href="classOgre_1_1Renderable.html">Renderable</a> objects will use a view matrix as determined by the active camera. However, if they want they can cancel this out and use an identity matrix, which means all geometry is assumed to be relative to camera space already. Useful for overlay rendering. Normal renderables need not override this. </dd></dl>
1185
1186<p>
1187Reimplemented in <a class="el" href="classOgre_1_1BorderRenderable.html#Ogre_1_1BorderRenderablea8">Ogre::BorderRenderable</a>, <a class="el" href="classOgre_1_1OverlayElement.html#Ogre_1_1TextAreaOverlayElementa56">Ogre::OverlayElement</a>, and <a class="el" href="classOgre_1_1Rectangle2D.html#Ogre_1_1Rectangle2Da6">Ogre::Rectangle2D</a>.
1188<p>
1189Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00124">124</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
1190  </tr>
1191</table>
1192<hr><h2>Member Data Documentation</h2>
1193<a class="anchor" name="Ogre_1_1WireBoundingBoxp26" doxytag="Ogre::StaticGeometry::GeometryBucket::mCustomParameters" ></a><p>
1194<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1195  <tr>
1196    <td class="mdRow">
1197      <table cellpadding="0" cellspacing="0" border="0">
1198        <tr>
1199          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxx1">CustomParameterMap</a> <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxp26">Ogre::Renderable::mCustomParameters</a><code> [protected, inherited]</code>
1200      </table>
1201    </td>
1202  </tr>
1203</table>
1204<table cellspacing=5 cellpadding=0 border=0>
1205  <tr>
1206    <td>
1207      &nbsp;
1208    </td>
1209    <td>
1210
1211<p>
1212
1213<p>
1214Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00248">248</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
1215  </tr>
1216</table>
1217<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketp2" doxytag="Ogre::StaticGeometry::GeometryBucket::mFormatString" ></a><p>
1218<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1219  <tr>
1220    <td class="mdRow">
1221      <table cellpadding="0" cellspacing="0" border="0">
1222        <tr>
1223          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp2">Ogre::StaticGeometry::GeometryBucket::mFormatString</a><code> [protected]</code>
1224      </table>
1225    </td>
1226  </tr>
1227</table>
1228<table cellspacing=5 cellpadding=0 border=0>
1229  <tr>
1230    <td>
1231      &nbsp;
1232    </td>
1233    <td>
1234
1235<p>
1236String identifying the vertex / index format.
1237<p>
1238
1239<p>
1240Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00184">184</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1241  </tr>
1242</table>
1243<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketp4" doxytag="Ogre::StaticGeometry::GeometryBucket::mIndexData" ></a><p>
1244<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1245  <tr>
1246    <td class="mdRow">
1247      <table cellpadding="0" cellspacing="0" border="0">
1248        <tr>
1249          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1IndexData.html">IndexData</a>* <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp4">Ogre::StaticGeometry::GeometryBucket::mIndexData</a><code> [protected]</code>
1250      </table>
1251    </td>
1252  </tr>
1253</table>
1254<table cellspacing=5 cellpadding=0 border=0>
1255  <tr>
1256    <td>
1257      &nbsp;
1258    </td>
1259    <td>
1260
1261<p>
1262Index information, includes index type which limits the max number of vertices which are allowed in one bucket.
1263<p>
1264
1265<p>
1266Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00190">190</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1267  </tr>
1268</table>
1269<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketp5" doxytag="Ogre::StaticGeometry::GeometryBucket::mIndexType" ></a><p>
1270<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1271  <tr>
1272    <td class="mdRow">
1273      <table cellpadding="0" cellspacing="0" border="0">
1274        <tr>
1275          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareIndexBuffer.html#Ogre_1_1HardwareIndexBufferw2">HardwareIndexBuffer::IndexType</a> <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp5">Ogre::StaticGeometry::GeometryBucket::mIndexType</a><code> [protected]</code>
1276      </table>
1277    </td>
1278  </tr>
1279</table>
1280<table cellspacing=5 cellpadding=0 border=0>
1281  <tr>
1282    <td>
1283      &nbsp;
1284    </td>
1285    <td>
1286
1287<p>
1288Size of indexes.
1289<p>
1290
1291<p>
1292Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00192">192</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1293  </tr>
1294</table>
1295<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketp6" doxytag="Ogre::StaticGeometry::GeometryBucket::mMaxVertexIndex" ></a><p>
1296<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1297  <tr>
1298    <td class="mdRow">
1299      <table cellpadding="0" cellspacing="0" border="0">
1300        <tr>
1301          <td class="md" nowrap valign="top"> size_t <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp6">Ogre::StaticGeometry::GeometryBucket::mMaxVertexIndex</a><code> [protected]</code>
1302      </table>
1303    </td>
1304  </tr>
1305</table>
1306<table cellspacing=5 cellpadding=0 border=0>
1307  <tr>
1308    <td>
1309      &nbsp;
1310    </td>
1311    <td>
1312
1313<p>
1314Maximum vertex indexable.
1315<p>
1316
1317<p>
1318Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00194">194</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1319  </tr>
1320</table>
1321<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketp1" doxytag="Ogre::StaticGeometry::GeometryBucket::mParent" ></a><p>
1322<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1323  <tr>
1324    <td class="mdRow">
1325      <table cellpadding="0" cellspacing="0" border="0">
1326        <tr>
1327          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1StaticGeometry_1_1MaterialBucket.html">MaterialBucket</a>* <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp1">Ogre::StaticGeometry::GeometryBucket::mParent</a><code> [protected]</code>
1328      </table>
1329    </td>
1330  </tr>
1331</table>
1332<table cellspacing=5 cellpadding=0 border=0>
1333  <tr>
1334    <td>
1335      &nbsp;
1336    </td>
1337    <td>
1338
1339<p>
1340Pointer to parent bucket.
1341<p>
1342
1343<p>
1344Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00182">182</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1345  </tr>
1346</table>
1347<a class="anchor" name="Ogre_1_1WireBoundingBoxp27" doxytag="Ogre::StaticGeometry::GeometryBucket::mPolygonModeOverrideable" ></a><p>
1348<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1349  <tr>
1350    <td class="mdRow">
1351      <table cellpadding="0" cellspacing="0" border="0">
1352        <tr>
1353          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxp27">Ogre::Renderable::mPolygonModeOverrideable</a><code> [protected, inherited]</code>
1354      </table>
1355    </td>
1356  </tr>
1357</table>
1358<table cellspacing=5 cellpadding=0 border=0>
1359  <tr>
1360    <td>
1361      &nbsp;
1362    </td>
1363    <td>
1364
1365<p>
1366
1367<p>
1368Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00249">249</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
1369  </tr>
1370</table>
1371<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketp0" doxytag="Ogre::StaticGeometry::GeometryBucket::mQueuedGeometry" ></a><p>
1372<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1373  <tr>
1374    <td class="mdRow">
1375      <table cellpadding="0" cellspacing="0" border="0">
1376        <tr>
1377          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw4">QueuedGeometryList</a> <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp0">Ogre::StaticGeometry::GeometryBucket::mQueuedGeometry</a><code> [protected]</code>
1378      </table>
1379    </td>
1380  </tr>
1381</table>
1382<table cellspacing=5 cellpadding=0 border=0>
1383  <tr>
1384    <td>
1385      &nbsp;
1386    </td>
1387    <td>
1388
1389<p>
1390Geometry which has been queued up pre-build (not for deallocation).
1391<p>
1392
1393<p>
1394Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00180">180</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1395  </tr>
1396</table>
1397<a class="anchor" name="Ogre_1_1WireBoundingBoxt4" doxytag="Ogre::StaticGeometry::GeometryBucket::msDummyPlaneList" ></a><p>
1398<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1399  <tr>
1400    <td class="mdRow">
1401      <table cellpadding="0" cellspacing="0" border="0">
1402        <tr>
1403          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a453">PlaneList</a> <a class="el" href="classOgre_1_1Renderable.html#Ogre_1_1WireBoundingBoxt4">Ogre::Renderable::msDummyPlaneList</a><code> [static, protected, inherited]</code>
1404      </table>
1405    </td>
1406  </tr>
1407</table>
1408<table cellspacing=5 cellpadding=0 border=0>
1409  <tr>
1410    <td>
1411      &nbsp;
1412    </td>
1413    <td>
1414
1415<p>
1416
1417<p>
1418Definition at line <a class="el" href="OgreRenderable_8h-source.html#l00246">246</a> of file <a class="el" href="OgreRenderable_8h-source.html">OgreRenderable.h</a>.    </td>
1419  </tr>
1420</table>
1421<a class="anchor" name="Ogre_1_1StaticGeometry_1_1GeometryBucketp3" doxytag="Ogre::StaticGeometry::GeometryBucket::mVertexData" ></a><p>
1422<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1423  <tr>
1424    <td class="mdRow">
1425      <table cellpadding="0" cellspacing="0" border="0">
1426        <tr>
1427          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1VertexData.html">VertexData</a>* <a class="el" href="classOgre_1_1StaticGeometry_1_1GeometryBucket.html#Ogre_1_1StaticGeometry_1_1GeometryBucketp3">Ogre::StaticGeometry::GeometryBucket::mVertexData</a><code> [protected]</code>
1428      </table>
1429    </td>
1430  </tr>
1431</table>
1432<table cellspacing=5 cellpadding=0 border=0>
1433  <tr>
1434    <td>
1435      &nbsp;
1436    </td>
1437    <td>
1438
1439<p>
1440Vertex information, includes current number of vertices committed to be a part of this bucket.
1441<p>
1442
1443<p>
1444Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00187">187</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1445  </tr>
1446</table>
1447<hr>The documentation for this class was generated from the following file:<ul>
1448<li><a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a></ul>
1449<hr>
1450<p>
1451Copyright &copy; 2000-2005 by The OGRE Team<br />
1452<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
1453This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
1454                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
1455                <Work rdf:about="">
1456                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
1457        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
1458                </Work>
1459                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
1460
1461Last modified Sun Mar 12 14:44:54 2006
1462</p>
1463</body>
1464</html>
Note: See TracBrowser for help on using the repository browser.