VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
trpgTexture1_0 Class Reference
Inheritance diagram for trpgTexture1_0:
Inheritance graph
[legend]

Public Member Functions

trpgTexture1_0 operator= (const trpgTexture &)
 
virtual bool Read (trpgReadBuffer &) override
 
virtual bool Write (trpgWriteBuffer &) override
 
- Public Member Functions inherited from trpgTexture
 trpgTexture (void)
 
 trpgTexture (const trpgTexture &)
 
virtual ~trpgTexture (void) override
 
void SetName (const char *)
 
bool GetName (char *retStr, int strLen) const
 
void SetNumTile (int)
 
void AddTile (void)
 
bool GetNumTile (int &) const
 
bool GetImageMode (ImageMode &) const
 
bool GetImageType (ImageType &) const
 
bool GetImageSize (trpg2iPoint &) const
 
bool GetImageAddr (trpgwAppAddress &) const
 
bool GetImageDepth (int32 &depth) const
 
bool GetIsMipmap (bool &) const
 
void SetImageMode (ImageMode)
 
void SetImageType (ImageType)
 
void SetImageSize (const trpg2iPoint &)
 
void SetImageAddr (const trpgwAppAddress &)
 
void SetIsMipmap (bool)
 
void SetNumMipmap (int)
 
void SetNumLayer (int)
 
bool GetNumLayer (int &) const
 
int32 CalcNumMipmaps () const
 
int32 CalcTotalSize () const
 
int32 MipLevelSize (int miplevel)
 
int32 MipLevelOffset (int miplevel)
 
bool isValid (void) const
 
virtual void Reset (void) override
 
virtual bool Print (trpgPrintBuffer &) const override
 
trpgTextureoperator= (const trpgTexture &)
 
int operator== (const trpgTexture &) const
 
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
 
const chargetErrMess () const
 
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
 
virtual ~trpgCheckable (void)
 
bool isValid (void) const
 
virtual TeAttrHdl GetHandle () const
 
virtual void SetHandle (TeAttrHdl hdl)
 

Additional Inherited Members

- Public Types inherited from trpgTexture
enum  ImageMode { External, Local, Global, Template }
 
enum  ImageType {
  trpg_RGB8, trpg_RGBA8, trpg_INT8, trpg_INTA8,
  trpg_FXT1, trpg_Filler, trpg_RGBX, trpg_Unknown,
  trpg_DDS, trpg_DXT1, trpg_DXT3, trpg_DXT5,
  trpg_MCM5, trpg_MCM6R, trpg_MCM6A, trpg_MCM7RA,
  trpg_MCM7AR
}
 
- Protected Member Functions inherited from trpgTexture
void CalcMipLevelSizes ()
 
- Protected Attributes inherited from trpgTexture
ImageMode mode
 
ImageType type
 
charname
 
int useCount
 
int sizeX
 
int sizeY
 
bool isMipmap
 
int numMipMap
 
int numLayer
 
std::vector< intstorageSize
 
std::vector< intlevelOffset
 
trpgwAppAddress addr
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Member Function Documentation

trpgTexture1_0 trpgTexture1_0::operator= ( const trpgTexture )

Assignment operator from a regular trpgTexture.

virtual bool trpgTexture1_0::Read ( trpgReadBuffer )
overridevirtual

Knows how to read old style textures.

Reimplemented from trpgTexture.

virtual bool trpgTexture1_0::Write ( trpgWriteBuffer )
overridevirtual

Can write old style textures.

Reimplemented from trpgTexture.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)