HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdStTextureCpuData Class Referenceabstract

#include <textureCpuData.h>

Public Member Functions

virtual HDST_API ~HdStTextureCpuData ()
 
virtual const HgiTextureDescGetTextureDesc () const =0
 
virtual bool GetGenerateMipmaps () const =0
 
virtual bool IsValid () const =0
 Are the data valid (e.g., false if file could not be found). More...
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual HDST_API HdStTextureCpuData::~HdStTextureCpuData ( )
virtual

Member Function Documentation

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: