24 #ifndef PXR_IMAGING_HGI_SHADERPROGRAM_H
25 #define PXR_IMAGING_HGI_SHADERPROGRAM_H
92 virtual bool IsValid()
const = 0;
128 HgiShaderProgram() =
delete;
129 HgiShaderProgram & operator=(
const HgiShaderProgram&) =
delete;
130 HgiShaderProgram(
const HgiShaderProgram&) =
delete;
GLsizei const GLchar *const * string
std::vector< HgiShaderProgramHandle > HgiShaderProgramHandleVector
virtual HGI_API HgiShaderFunctionHandleVector const & GetShaderFunctions() const =0
Returns the shader functions that are part of this program.
virtual HGI_API size_t GetByteSizeOfResource() const =0
std::vector< HgiShaderFunctionHandle > HgiShaderFunctionHandleVector
virtual HGI_API uint64_t GetRawResource() const =0
virtual HGI_API std::string const & GetCompileErrors()=0
Returns shader compile errors.
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
virtual HGI_API ~HgiShaderProgram()
HGI_API HgiShaderProgramDesc const & GetDescriptor() const
The descriptor describes the object.
HgiShaderProgramDesc _descriptor
HGI_API HgiShaderProgramDesc()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HgiShaderFunctionHandleVector shaderFunctions
#define PXR_NAMESPACE_CLOSE_SCOPE
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
virtual HGI_API bool IsValid() const =0
Returns false if any shader compile errors occured.