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

Detailed Description

Base bitmap interface.

Public Member Functions

virtual eBitmapType GetType () const =0
 Return the bitmap 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 pixel format of the texture. {Property}. More...
 
virtual tBool CreateMipMaps (tU32 anNumMipMaps, tBool abCompute)=0
 Create the mipmaps. More...
 
virtual void RemoveMipMaps ()=0
 Remove the mipmaps. More...
 
virtual tU32 GetNumMipMaps () const =0
 Get the number of mipmaps. {Property}. More...
 
virtual iBitmapBaseClone (ePixelFormatBlit eBlit=ePixelFormatBlit_Normal) const =0
 Create a copy of the bitmap. More...
 
virtual iBitmapBaseCreateConvertedFormat (const iPixelFormat *pFmt) const =0
 Create a copy of the bitmap that use the given format. More...
 
virtual iBitmapBaseCreateGammaCorrected (tF32 factor) const =0
 Create a gamma corrected bitmap. More...
 
virtual tBool GammaCorrect (tF32 factor)=0
 Correct gamma of the bitmap. 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

Return the bitmap 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 pixel format of the texture. {Property}.

virtual tBool CreateMipMaps ( tU32  anNumMipMaps,
tBool  abCompute 
)
pure virtual

Create the mipmaps.

virtual void RemoveMipMaps ( )
pure virtual

Remove the mipmaps.

virtual tU32 GetNumMipMaps ( ) const
pure virtual

Get the number of mipmaps. {Property}.

virtual iBitmapBase* Clone ( ePixelFormatBlit  eBlit = ePixelFormatBlit_Normal) const
pure virtual

Create a copy of the bitmap.

virtual iBitmapBase* CreateConvertedFormat ( const iPixelFormat pFmt) const
pure virtual

Create a copy of the bitmap that use the given format.

virtual iBitmapBase* CreateGammaCorrected ( tF32  factor) const
pure virtual

Create a gamma corrected bitmap.

virtual tBool GammaCorrect ( tF32  factor)
pure virtual

Correct gamma of the bitmap.