34 #if defined ( OGRE_GCC_VISIBILITY )
35 # pragma GCC visibility push(default)
38 #if defined ( OGRE_GCC_VISIBILITY )
39 # pragma GCC visibility pop
58 return FastHash((
const char*)&data,
sizeof(T), hashSoFar);
331 template <
typename T>
335 typedef std::vector<T, STLAllocator<T, GeneralAllocPolicy> >
VectorImpl;
379 return mList.begin();
388 return mList.rbegin();
408 return mList.const_iterator(n);
417 template <
class InputIterator>
438 return mList.front();
467 bool recalc = (pos !=
end());
476 template <
class InputIterator>
478 InputIterator f, InputIterator l)
480 mList.insert(pos, f, l);
486 mList.insert(pos, n, x);
523 bool operator<(const HashedVector<T>& b)
559 TRect( T
const & l, T
const & t, T
const & r, T
const & b )
636 std::ostream& operator<<(std::ostream& o, const TRect<T>& r)
638 o <<
"TRect<>(l:" << r.
left <<
", t:" << r.top <<
", r:" << r.right <<
", b:" << r.bottom <<
")";
HashedVector(const HashedVector< T > &rhs)
VectorImpl::const_reference const_reference
iterator erase(iterator first, iterator last)
TRect & operator=(TRect const &o)
const_iterator end() const
uint32 _OgreExport FastHash(const char *data, int len, uint32 hashSoFar=0)
Fast general hashing algorithm.
bool operator==(const HashedVector< T > &b)
ManualCullingMode
Manual culling modes based on vertex normals.
Stencil shadow technique which renders all shadow volumes as a modulation after all the non-transpare...
HashedVector< Light * > LightList
Stencil shadow technique which renders each light as a separate additive pass to the scene...
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
WaveformType
Enumerates the wave types usable with the Ogre engine.
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
Mask for additive shadows (not for direct use, use SHADOWTYPE_ enum instead)
uint32 getDepth() const
Get the depth of this box.
Equal to: min=FO_LINEAR, mag=FO_LINEAR, mip=FO_POINT.
Texture-based shadow technique which involves a monochrome render-to-texture of the shadow caster and...
void resize(size_type n, const T &t=T())
The filter used when magnifying a texture.
Similar to FO_LINEAR, but compensates for the angle of the texture plane.
Equal to: min=FO_POINT, mag=FO_POINT, mip=FO_NONE.
VectorImpl::size_type size_type
Render window creation parameters.
An angular wave with a constant increase / decrease speed with pointed peaks.
The filter used when determining the mipmap.
HashedVector(size_type n)
bool contains(const Box &def) const
Return true if the other box is a part of this one.
TRect(T const &l, T const &t, T const &r, T const &b)
Fog density increases linearly between the start and end distances.
Hardware culls triangles whose vertices are listed anticlockwise in the view.
Average of a 2x2 pixel area, denotes bilinear for MIN and MAG, trilinear for MIP. ...
uint32 getWidth() const
Get the width of this box.
VectorImpl::reference reference
reference at(size_type n)
HashedVector(size_type n, const T &t)
Box()
Parameterless constructor for setting the members manually.
void insert(iterator pos, InputIterator f, InputIterator l)
iterator erase(iterator pos)
const_reverse_iterator rend() const
void swap(HashedVector< T > &rhs)
VectorImpl::iterator iterator
size_type max_size() const
Equal to: min=FO_ANISOTROPIC, max=FO_ANISOTROPIC, mip=FO_LINEAR.
CullingMode
Hardware culling modes based on vertex winding.
TRect< Real > RealRect
Structure used to define a rectangle in a 2-D floating point space, subject to double / single floati...
TRect< long > Rect
Structure used to define a rectangle in a 2-D integer space.
reference operator[](size_type n)
HashedVector(InputIterator a, InputIterator b)
Use one weight per vertex when recommended (i.e.
vector< RenderWindow * >::type RenderWindowList
Render window container.
Representation of a dynamic light source in the scene.
Structure used to define a box in a 3-D integer space.
VectorImpl::const_reverse_iterator const_reverse_iterator
Equal to: min=FO_LINEAR, mag=FO_LINEAR, mip=FO_LINEAR.
Mask for integrated shadows (not for direct use, use SHADOWTYPE_ enum instead)
No filtering, used for FT_MIP to turn off mipmapping.
ShadowTechnique
An enumeration of broad shadow techniques.
map< String, String >::type BinaryOptionList
Half of the time is spent at the min, half at the max with instant transition between.
Cull triangles whose normal is pointing away from the camera (default).
map< String, bool >::type UnaryOptionList
Mask for texture shadows (not for direct use, use SHADOWTYPE_ enum instead)
const_reverse_iterator rbegin() const
ShadeOptions
Light shading modes.
Solid polygons are rendered.
Gradual steady decrease from max to min over the period, with an instant return to max at the end...
Mask for stencil shadows (not for direct use, use SHADOWTYPE_ enum instead)
Box(uint32 l, uint32 t, uint32 ff, uint32 r, uint32 b, uint32 bb)
Define a box from left, top, front, right, bottom and back coordinates.
VectorImpl::difference_type difference_type
void push_back(const T &t)
uint32 getHash() const
Get the hash value.
void insert(iterator pos, size_type n, const T &x)
SortMode
Sort mode for billboard-set and particle-system.
Sort by direction of the camera.
std::vector< T, STLAllocator< T, GeneralAllocPolicy > > VectorImpl
const_iterator begin() const
Sort by distance from the camera.
Only points are rendered.
FrameBufferType
Defines the frame buffer types.
Standard sine wave which smoothly changes from low to high and back again.
const_reference operator[](size_type n) const
uint32 getHeight() const
Get the height of this box.
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
Box(uint32 l, uint32 t, uint32 r, uint32 b)
Define a box from left, top, right and bottom coordinates This box will have depth one (front=0 and b...
Mask for modulative shadows (not for direct use, use SHADOWTYPE_ enum instead)
Forces an amount of instances per batch low enough so that vertices * numInst < 65535 since usually i...
Gradual steady increase from min to max over the period with an instant return to min at the end...
iterator insert(iterator pos, const T &t)
NameValuePairList miscParams
VectorImpl::reverse_iterator reverse_iterator
uint32 HashCombine(uint32 hashSoFar, const T &data)
Combine hashes with same style as boost::hash_combine.
HashedVector< T > & operator=(const HashedVector< T > &rhs)
InstanceManagerFlags
Flags for the Instance Manager when calculating ideal number of instances per batch.
std::map< K, V, P, A > type
Use a limited number of skeleton animations shared among all instances.
VectorImpl::const_iterator const_iterator
Fog density increases exponentially from the camera (fog = 1/e^(distance * density)) ...
Hardware culls triangles whose vertices are listed clockwise in the view (default).
const_reference back() const
The filter used when shrinking a texture.
No culling so everything is sent to the hardware.
All techniques are forced to one weight per vertex.
const_reference front() const
size_type capacity() const
VectorImpl::pointer pointer
PolygonMode
The polygon mode to use when rasterising.
TRect intersect(const TRect &rhs) const
Fog density increases at the square of FOG_EXP, i.e. even quicker (fog = 1/e^(distance * density)^2) ...
TRect & merge(const TRect &rhs)
reverse_iterator rbegin()
ClipResult
Generic result of clipping.
Wireframe models are rendered.
vector< RenderWindowDescription >::type RenderWindowDescriptionList
Render window creation parameters container.
TRect< float > FloatRect
Structure used to define a rectangle in a 2-D floating point space.
const_reference at(size_type n) const
FilterOptions
Filtering options for textures / mipmaps.
Hardware never culls triangles and renders everything it receives.
map< String, String >::type AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
int TrackVertexColourType
An enumeration describing which material properties should track the vertex colours.
Cull triangles whose normal is pointing towards the camera.
int _OgreExport findCommandLineOpts(int numargs, char **argv, UnaryOptionList &unaryOptList, BinaryOptionList &binOptList)
Locate command-line options of the unary form '-blah' and of the binary form '-blah foo'...
void addToHash(const T &newPtr) const
VectorImpl::value_type value_type
Everything was clipped away.
TextureFilterOptions
High-level filtering options providing shortcuts to settings the minification, magnification and mip ...