#include <textureCpuData.h>
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.
virtual HDST_API HdStTextureCpuData::~HdStTextureCpuData |
( |
| ) |
|
|
virtual |
virtual bool HdStTextureCpuData::GetGenerateMipmaps |
( |
| ) |
const |
|
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.
virtual const HgiTextureDesc& HdStTextureCpuData::GetTextureDesc |
( |
| ) |
const |
|
pure virtual |
The metadata of the texture (width, height, ...) including a pointer to the CPU data (as initialData).
virtual bool HdStTextureCpuData::IsValid |
( |
| ) |
const |
|
pure virtual |
Are the data valid (e.g., false if file could not be found).
The documentation for this class was generated from the following file: