24 #ifndef PXR_IMAGING_HGI_SHADERFUNCTION_H
25 #define PXR_IMAGING_HGI_SHADERFUNCTION_H
59 virtual bool IsValid()
const = 0;
91 HgiShaderFunction() =
delete;
92 HgiShaderFunction & operator=(
const HgiShaderFunction&) =
delete;
93 HgiShaderFunction(
const HgiShaderFunction&) =
delete;
GLsizei const GLchar *const * string
virtual HGI_API size_t GetByteSizeOfResource() const =0
virtual HGI_API std::string const & GetCompileErrors()=0
Returns shader compile errors.
virtual HGI_API ~HgiShaderFunction()
std::vector< HgiShaderFunctionHandle > HgiShaderFunctionHandleVector
HGI_API HgiShaderFunctionDesc const & GetDescriptor() const
The descriptor describes the object.
virtual HGI_API bool IsValid() const =0
Returns false if any shader compile errors occured.
HgiShaderFunctionDesc _descriptor
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual HGI_API uint64_t GetRawResource() const =0