Dynamic texture atlas suballocation. More...
#include <DynamicTextureAtlas.h>
Public Member Functions | |
virtual uint2 | GetOrigin () const =0 |
Returns the suballocation origin. | |
virtual Uint32 | GetSlice () const =0 |
Returns the suballocation slice. | |
virtual uint2 | GetSize () const =0 |
Returns the suballocation size. | |
virtual float4 | GetUVScaleBias () const =0 |
Returns the texture coordinate scale (xy) and bias (zw). | |
virtual Uint32 | GetAlignment () const =0 |
Returns the suballocation alignment. | |
virtual IDynamicTextureAtlas * | GetAtlas ()=0 |
Returns the pointer to the parent texture atlas. | |
virtual void | SetUserData (IObject *pUserData)=0 |
Stores a pointer to the user-provided data object. | |
virtual IObject * | GetUserData () const =0 |
![]() | |
virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface. | |
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
Increments the number of strong references by 1. | |
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
Dynamic texture atlas suballocation.
|
pure virtual |
Returns the pointer to the user data object previously set with SetUserData() method.
|
pure virtual |
Stores a pointer to the user-provided data object.
The data may later be retrieved through GetUserData().
[in] | pUserData | - Pointer to the user data object to store. |