TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iTexture Struct Referenceabstract
Inheritance diagram for iTexture:
iDeviceResource iUnknown iD3D9Texture iGLTexture

Detailed Description

Texture interface.

Remarks
Bindable

Public Member Functions

virtual eBitmapType GetType () const =0
 Get the texture type. {Property}. More...
 
virtual tU32 GetWidth () const =0
 Get the texture width. {Property}. More...
 
virtual tU32 GetHeight () const =0
 Get the texture height. {Property}. More...
 
virtual tU32 GetDepth () const =0
 Get the texture depth. {Property}. More...
 
virtual iPixelFormatGetPixelFormat () const =0
 Get the texture's pixel format. {Property}. More...
 
virtual tU32 GetNumMipMaps () const =0
 Get the number of mipmaps of the texture. {Property}. More...
 
virtual tTextureFlags GetFlags () const =0
 Get the texture flags. {Property}. More...
 
virtual iTextureGetSubTexture (tU32 anIndex) const =0
 Get a sub texture. {Property}. More...
 
- Public Member Functions inherited from iDeviceResource
virtual iHStringGetDeviceResourceName () const =0
 Get the resource's name. More...
 
virtual tBool HasDeviceResourceBeenReset (tBool abClearFlag)=0
 Check whether the device resource has just been reset. More...
 
virtual tBool ResetDeviceResource ()=0
 Reset the device resource. More...
 
virtual iDeviceResourceBind (iUnknown *apDevice)=0
 Called when the resource is going to be used by the device. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual eBitmapType GetType ( ) const
pure virtual

Get the texture type. {Property}.

virtual tU32 GetWidth ( ) const
pure virtual

Get the texture width. {Property}.

virtual tU32 GetHeight ( ) const
pure virtual

Get the texture height. {Property}.

virtual tU32 GetDepth ( ) const
pure virtual

Get the texture depth. {Property}.

virtual iPixelFormat* GetPixelFormat ( ) const
pure virtual

Get the texture's pixel format. {Property}.

virtual tU32 GetNumMipMaps ( ) const
pure virtual

Get the number of mipmaps of the texture. {Property}.

virtual tTextureFlags GetFlags ( ) const
pure virtual

Get the texture flags. {Property}.

virtual iTexture* GetSubTexture ( tU32  anIndex) const
pure virtual

Get a sub texture. {Property}.