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

Detailed Description

D3D9 texture.

Public Member Functions

virtual eD3D9ResourceType GetResourceType () const =0
 Get the resource type. More...
 
virtual IDirect3DBaseTexture9 * GetTexture () const =0
 Get the base texture. {NoAutomation}. More...
 
virtual IDirect3DSurface9 * GetSurface () const =0
 Get the surface. {NoAutomation}. More...
 
virtual tU32 GetSubTextureFace () const =0
 Get the sub texture face/slice. More...
 
virtual tU32 GetSubTextureLevel () const =0
 Get the sub texture level. More...
 
virtual IDirect3DSurface9 * GetSurfaceLevel (tU32 anLevel) const =0
 Get the surface at the specified level. {NoAutomation}. More...
 
virtual IDirect3DVolume9 * GetVolumeLevel (tU32 anLevel) const =0
 Get the volume at the specified level. {NoAutomation}. More...
 
virtual tBool OnLostDevice (IDirect3DDevice9 *apDevice)=0
 Called when the device is lost. {NoAutomation}. More...
 
virtual tBool OnResetDevice (IDirect3DDevice9 *apDevice)=0
 Called when the device is reset. {NoAutomation}. More...
 
virtual void Cleanup ()=0
 {NoAutomation} More...
 
virtual tBool InitializeBaseTexture (IDirect3DBaseTexture9 *apTexture)=0
 {NoAutomation} More...
 
virtual tBool InitializeSurface (IDirect3DBaseTexture9 *apTexture, IDirect3DSurface9 *apSurface, tU32 anFace, tU32 anLevel)=0
 {NoAutomation} More...
 
virtual tBool InitializeVolume (IDirect3DVolumeTexture9 *apTexture, IDirect3DVolume9 *apVolume, tU32 anLevel)=0
 {NoAutomation} More...
 
virtual tBool Create (IDirect3DDevice9 *apDevice, eBitmapType aType, D3DFORMAT aFormat, tU32 anWidth, tU32 anHeight, tU32 anDepth, tU32 anNumMipMaps, tTextureFlags aFlags)=0
 {NoAutomation} More...
 
- Public Member Functions inherited from iTexture
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...