AtlasResourceTexTOC Class Reference [Atlas Resource System]

#include <atlasResourceTexTOC.h>

Inheritance diagram for AtlasResourceTexTOC:

Inheritance graph
[legend]
List of all members.

Detailed Description

Atlas TOC subclass for textures.


Public Types

typedef AtlasResourceTOC<
AtlasResourceTexStub
Parent

Public Member Functions

void initializeTOC (U32 depth)
 AtlasResourceTexTOC ()
const S32 getTextureChunkSize ()
 Return the size of texture tiles in pixels (on a side).
bool getTexel (const Point2F &texCoords, U32 layer, ColorI &outColor)

Public Attributes

const char * mTextureName
 A name for this texture so we can tell different resource tex TOCs apart.


Member Typedef Documentation


Constructor & Destructor Documentation

AtlasResourceTexTOC::AtlasResourceTexTOC (  )  [inline]


Member Function Documentation

void AtlasResourceTexTOC::initializeTOC ( U32  depth  )  [inline]

const S32 AtlasResourceTexTOC::getTextureChunkSize (  )  [inline]

Return the size of texture tiles in pixels (on a side).

If root chunk is loaded, then grab size from it, otherwise return an error...

bool AtlasResourceTexTOC::getTexel ( const Point2F texCoords,
U32  layer,
ColorI outColor 
)


Member Data Documentation

A name for this texture so we can tell different resource tex TOCs apart.