24 #ifndef PXR_IMAGING_HGIGL_SHADERPROGRAM_H
25 #define PXR_IMAGING_HGIGL_SHADERPROGRAM_H
90 size_t _programByteSize;
91 uint32_t _uniformBuffer;
HGIGL_API std::string const & GetCompileErrors() override
Returns shader compile errors.
HGIGL_API size_t GetByteSizeOfResource() const override
GLsizei const GLchar *const * string
std::vector< HgiShaderFunctionHandle > HgiShaderFunctionHandleVector
HGIGL_API uint64_t GetRawResource() const override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HGIGL_API uint32_t GetProgramId() const
Returns the gl resource id of the program.
HGIGL_API ~HgiGLShaderProgram() override
#define PXR_NAMESPACE_CLOSE_SCOPE
HGIGL_API bool IsValid() const override
Returns false if any shader compile errors occured.
HGIGL_API uint32_t GetUniformBuffer(size_t sizeHint)
HGIGL_API HgiShaderFunctionHandleVector const & GetShaderFunctions() const override
Returns the shader functions that are part of this program.