Loading...
Searching...
No Matches
SBMVisualModelTexture Class Reference

This class is the base class to describe a visual model.

Constructors and destructors

 SBMVisualModelTexture (unsigned int width, unsigned int height, unsigned char *textureData)
 Builds a texture.
 
virtual ~SBMVisualModelTexture ()
 Deletes the triangle surface.
 

Geometry

unsigned int getWidth () const
 Returns the width.
 
void setWidth (unsigned int diffuseMapWidth)
 Sets the width.
 
unsigned int getHeight () const
 Returns the height.
 
void setHeight (unsigned int diffuseMapHeight)
 Sets the height.
 
unsigned char * getTextureData () const
 Returns the texture data.
 
void setTextureData (unsigned char *diffuseMapTextureData)
 Sets the texture data.
 
 SB_DECLARE_DATA (SBMVisualModelTexture)
 

Additional Inherited Members

- Public Member Functions inherited from SBCReferenceTarget
unsigned int getMemoryFootprint () const
 
void printReferencesToOwners () const
 
 SBCReferenceTarget ()
 
virtual ~SBCReferenceTarget ()
 
- Protected Member Functions inherited from SBCReferenceTarget
void removeAllReferenceOwners ()
 
 SBCReferenceTarget (SBCReferenceTargetData *dataPointer)
 
- Protected Attributes inherited from SBCReferenceTarget
SBCReferenceTargetData * dataPointer