29#ifndef __PanelOverlayElement_H__
30#define __PanelOverlayElement_H__
#define OGRE_MAX_TEXTURE_LAYERS
Define max number of texture layers allowed per pass on any card.
#define _OgreOverlayExport
A 2D element which contains other OverlayElement instances.
Command object for specifying tiling (see ParamCommand).
void doSet(void *target, const String &val)
String doGet(const void *target) const
Command object for specifying transparency (see ParamCommand).
String doGet(const void *target) const
void doSet(void *target, const String &val)
Command object for specifying UV coordinates (see ParamCommand).
String doGet(const void *target) const
void doSet(void *target, const String &val)
OverlayElement representing a flat, single-material (or transparent) panel which can contain other el...
Real getTileY(ushort layer=0) const
Gets the number of times the texture should repeat vertically.
void setUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the panel.
void getUV(Real &u1, Real &v1, Real &u2, Real &v2) const
Get the uv coordinates for the panel.
Real getTileX(ushort layer=0) const
bool isTransparent(void) const
Returns whether this panel is transparent.
void setTiling(Real x, Real y, ushort layer=0)
Sets the number of times textures should repeat.
virtual void initialise(void)
Initialise.
void _updateRenderQueue(RenderQueue *queue)
Overridden from OverlayContainer.
RenderOperation mRenderOp
static CmdUVCoords msCmdUVCoords
static CmdTransparent msCmdTransparent
PanelOverlayElement(const String &name)
Constructor.
void getRenderOperation(RenderOperation &op)
See Renderable.
bool mTransparent
Flag indicating if this panel should be visual or just group things.
virtual void updateTextureGeometry(void)
Called to update the texture coords when layers change.
void setTransparent(bool isTransparent)
Sets whether this panel is transparent (used only as a grouping level), or if it is actually rendered...
void addBaseParameters(void)
Method for setting up base parameters for this class.
static CmdTiling msCmdTiling
virtual ~PanelOverlayElement()
virtual void updatePositionGeometry(void)
Internal method for setting up geometry, called by OverlayElement::update.
size_t mNumTexCoordsInBuffer
void setMaterialName(const String &matName)
Overridden from OverlayElement.
virtual const String & getTypeName(void) const
See OverlayElement.
Abstract class which is command object which gets/sets parameters.
'New' rendering operation using vertex buffers.
Class to manage the scene object rendering queue.
float Real
Software floating point type.