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

Detailed Description

Bitmap format interface.

Public Member Functions

virtual tBool Copy (const iBitmapFormat *apFormat)=0
 Copy another bitmap format. More...
 
virtual iBitmapFormatClone () const =0
 Clone the bitmap format. More...
 
virtual void Reset ()=0
 Reset the bitmap format to its default values. More...
 
virtual void SetType (eBitmapType aV)=0
 Set the bitmap type. (default eBitmapType_2D) {Property}. More...
 
virtual eBitmapType GetType () const =0
 Get the bitmap type. {Property}. More...
 
virtual void SetWidth (tU32 aV)=0
 Set the texture width. (default 16) {Property}. More...
 
virtual tU32 GetWidth () const =0
 Get the texture width. (default 16) {Property}. More...
 
virtual void SetHeight (tU32 aV)=0
 Set the texture height. {Property}. More...
 
virtual tU32 GetHeight () const =0
 Get the texture height. {Property}. More...
 
virtual void SetDepth (tU32 aV)=0
 Set the texture depth. (default 0) {Property}. More...
 
virtual tU32 GetDepth () const =0
 Get the texture depth. {Property}. More...
 
virtual void SetNumMipMaps (tU32 aV)=0
 Set the number of mipmaps. (default 0) {Property}. More...
 
virtual tU32 GetNumMipMaps () const =0
 Get the number of mipmaps. {Property}. More...
 
virtual void SetPixelFormat (iPixelFormat *aV)=0
 Set the pixel format. (default R8G8B8A8) {Property}. More...
 
virtual iPixelFormatGetPixelFormat () const =0
 Get the pixel format. {Property}. 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 tBool Copy ( const iBitmapFormat apFormat)
pure virtual

Copy another bitmap format.

virtual iBitmapFormat* Clone ( ) const
pure virtual

Clone the bitmap format.

virtual void Reset ( )
pure virtual

Reset the bitmap format to its default values.

virtual void SetType ( eBitmapType  aV)
pure virtual

Set the bitmap type. (default eBitmapType_2D) {Property}.

virtual eBitmapType GetType ( ) const
pure virtual

Get the bitmap type. {Property}.

virtual void SetWidth ( tU32  aV)
pure virtual

Set the texture width. (default 16) {Property}.

virtual tU32 GetWidth ( ) const
pure virtual

Get the texture width. (default 16) {Property}.

virtual void SetHeight ( tU32  aV)
pure virtual

Set the texture height. {Property}.

virtual tU32 GetHeight ( ) const
pure virtual

Get the texture height. {Property}.

virtual void SetDepth ( tU32  aV)
pure virtual

Set the texture depth. (default 0) {Property}.

virtual tU32 GetDepth ( ) const
pure virtual

Get the texture depth. {Property}.

virtual void SetNumMipMaps ( tU32  aV)
pure virtual

Set the number of mipmaps. (default 0) {Property}.

virtual tU32 GetNumMipMaps ( ) const
pure virtual

Get the number of mipmaps. {Property}.

virtual void SetPixelFormat ( iPixelFormat aV)
pure virtual

Set the pixel format. (default R8G8B8A8) {Property}.

virtual iPixelFormat* GetPixelFormat ( ) const
pure virtual

Get the pixel format. {Property}.