|
| typedef std::vector< TextureRef > | TextureObjects |
| | Definition of a vector holding textures.
|
| |
| enum | ObjectType {
TYPE_UNKNOWN
, TYPE_ABSOLUTE_TRANSFORM
, TYPE_ATTRIBUTE
, TYPE_ATTRIBUTE_SET
,
TYPE_BACKGROUND
, TYPE_BILLBOARD
, TYPE_BITMAP_FRAMEBUFFER
, TYPE_BLEND_ATTRIBUTE
,
TYPE_BOX
, TYPE_CONE
, TYPE_CYLINDER
, TYPE_DEPTH_ATTRIBUTE
,
TYPE_DIRECTIONAL_LIGHT
, TYPE_FRAMEBUFFER
, TYPE_FRAME_TEXTURE_2D
, TYPE_GEOMETRY
,
TYPE_GROUP
, TYPE_INDEPENDENT_PRIMITIVE
, TYPE_LIGHT_SOURCE
, TYPE_LINES
,
TYPE_LINE_STRIPS
, TYPE_LOD
, TYPE_MATERIAL
, TYPE_NODE
,
TYPE_OBJECT
, TYPE_PARALLEL_VIEW
, TYPE_PERSPECTIVE_VIEW
, TYPE_PHANTOM_ATTRIBUTE
,
TYPE_POINT_LIGHT
, TYPE_POINTS
, TYPE_PRIMITIVE
, TYPE_PRIMITIVE_ATTRIBUTE
,
TYPE_QUAD_STRIPS
, TYPE_QUADS
, TYPE_RENDERABLE
, TYPE_SCENE
,
TYPE_SHADER_PROGRAM
, TYPE_SHAPE
, TYPE_SKY_BACKGROUND
, TYPE_SPHERE
,
TYPE_SPOT_LIGHT
, TYPE_STEREO_ATTRIBUTE
, TYPE_STEREO_VIEW
, TYPE_STRIP_PRIMITIVE
,
TYPE_SWITCH
, TYPE_TEXT
, TYPE_TEXTURE
, TYPE_TEXTURE_2D
,
TYPE_MEDIA_TEXTURE_2D
, TYPE_TEXTURE_FRAMEBUFFER
, TYPE_TEXTURES
, TYPE_TRANSFORM
,
TYPE_TRIANGLE_FANS
, TYPE_TRIANGLES
, TYPE_TRIANGLE_STRIPS
, TYPE_UNDISTORTED_BACKGROUND
,
TYPE_VERTEX_SET
, TYPE_VIEW
, TYPE_WINDOW_FRAMEBUFFER
} |
| | Definition of different object type. More...
|
| |
| typedef std::unordered_map< ObjectId, unsigned int > | ObjectIdMap |
| | Definition of a map holding object ids to reference counters.
|
| |
|
| virtual TextureRef | texture (const unsigned int layerIndex) const |
| | Returns the texture for a specified texture layer.
|
| |
| unsigned int | numberTextures () const |
| | Returns the number of specified texture layers.
|
| |
| virtual void | setTexture (const TextureRef &texture, const unsigned int layerIndex) |
| | Sets the texture for a specified texture layer.
|
| |
| virtual void | addTexture (const TextureRef &texture) |
| | Adds a texture at the next free position of the texture layer.
|
| |
| virtual bool | hasAlphaTexture () const |
| | Returns whether at least one texture has at least one alpha pixel.
|
| |
| ObjectType | type () const override |
| | Returns the type of this object.
|
| |
| ObjectId | id () const |
| | Returns the unique object id of this object.
|
| |
| const std::string & | name () const |
| | Returns the name of this object.
|
| |
| virtual void | setName (const std::string &name) |
| | Sets or changes the name of this object.
|
| |
| virtual const std::string & | engineName () const =0 |
| | Returns the name of the owner engine.
|
| |
| ObjectRefs | parentObjects () const |
| | Returns all parent objects.
|
| |
| ObjectRefSet | parentNodes () const |
| | Returns all parent nodes.
|
| |
| virtual std::string | descriptiveInformation () const |
| | Returns descriptive information about the object as string.
|
| |
This class is the base class for all textures objects.