Represents CPU data that can be stored in a HdStUvTextureObject, mostly, likely during the load phase to be committed to the GPU. More...
Public Member Functions | |
virtual const HgiTextureDesc & | GetTextureDesc () const =0 |
The metadata of the texture (width, height, ...) including a pointer to the CPU data (as initialData). More... | |
virtual bool | GetGenerateMipmaps () const =0 |
Make GPU generate mipmaps. More... | |
virtual bool | IsValid () const =0 |
Are the data valid (e.g., false if file could not be found). More... | |
Represents CPU data that can be stored in a HdStUvTextureObject, mostly, likely during the load phase to be committed to the GPU.
Definition at line 39 of file textureCpuData.h.
|
pure virtual |
Make GPU generate mipmaps.
The number of mipmaps is specified in the texture descriptor and the mipmaps are generate from the mip level 0 data.
|
pure virtual |
The metadata of the texture (width, height, ...) including a pointer to the CPU data (as initialData).
|
pure virtual |
Are the data valid (e.g., false if file could not be found).