Web Analytics Made Easy - Statcounter
Skip to content

Class SBMVisualModelTexture#

ClassList > SBMVisualModelTexture

More...

  • #include <SBMVisualModelTexture.hpp>

Inherits the following classes: SBCReferenceTarget

Public Functions#

Type Name
SBMVisualModelTexture (unsigned int width, unsigned int height, unsigned char * textureData)
Builds a texture.
SB_DECLARE_DATA (SBMVisualModelTexture)
unsigned int getHeight () const
Returns the height.
unsigned char * getTextureData () const
Returns the texture data.
unsigned int getWidth () const
Returns the width.
void setHeight (unsigned int diffuseMapHeight)
Sets the height.
void setTextureData (unsigned char * diffuseMapTextureData)
Sets the texture data.
void setWidth (unsigned int diffuseMapWidth)
Sets the width.
virtual ~SBMVisualModelTexture ()
Deletes the triangle surface.

Public Functions inherited from SBCReferenceTarget#

See SBCReferenceTarget

Type Name
SBCReferenceTarget ()
unsigned int getMemoryFootprint () const
void printReferencesToOwners () const
virtual ~SBCReferenceTarget ()

Protected Attributes inherited from SBCReferenceTarget#

See SBCReferenceTarget

Type Name
SBCReferenceTargetData * dataPointer

Protected Functions inherited from SBCReferenceTarget#

See SBCReferenceTarget

Type Name
SBCReferenceTarget (SBCReferenceTargetData * dataPointer)
void removeAllReferenceOwners ()

Detailed Description#

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

Short name: SBTexture

Public Functions Documentation#

function SBMVisualModelTexture#

Builds a texture.

SBMVisualModelTexture::SBMVisualModelTexture (
    unsigned int width,
    unsigned int height,
    unsigned char * textureData
) 


function SB_DECLARE_DATA#

SBMVisualModelTexture::SB_DECLARE_DATA (
    SBMVisualModelTexture
) 

function getHeight#

Returns the height.

unsigned int SBMVisualModelTexture::getHeight () const


function getTextureData#

Returns the texture data.

unsigned char * SBMVisualModelTexture::getTextureData () const


function getWidth#

Returns the width.

unsigned int SBMVisualModelTexture::getWidth () const


function setHeight#

Sets the height.

void SBMVisualModelTexture::setHeight (
    unsigned int diffuseMapHeight
) 


function setTextureData#

Sets the texture data.

void SBMVisualModelTexture::setTextureData (
    unsigned char * diffuseMapTextureData
) 


function setWidth#

Sets the width.

void SBMVisualModelTexture::setWidth (
    unsigned int diffuseMapWidth
) 


function ~SBMVisualModelTexture#

Deletes the triangle surface.

virtual SBMVisualModelTexture::~SBMVisualModelTexture ()