24 #ifndef PXR_IMAGING_HGIGL_SHADERFUNCTION_H 25 #define PXR_IMAGING_HGIGL_SHADERFUNCTION_H 27 #include "pxr/imaging/hgi/shaderFunction.h" 28 #include "pxr/imaging/hgiGL/api.h" 30 PXR_NAMESPACE_OPEN_SCOPE
78 PXR_NAMESPACE_CLOSE_SCOPE
HGIGL_API uint32_t GetShaderId() const
Returns the gl resource id of the shader.
HGIGL_API std::string const & GetCompileErrors() override
Returns shader compile errors.
Represents one shader stage function (code snippet).
HGIGL_API size_t GetByteSizeOfResource() const override
Returns the byte size of the GPU shader function.
HGIGL_API bool IsValid() const override
Returns false if any shader compile errors occured.
OpenGL implementation of the Hydra Graphics Interface.
HGIGL_API uint64_t GetRawResource() const override
This function returns the handle to the Hgi backend's gpu resource, cast to a uint64_t.
Hydra Graphics Interface.
OpenGL implementation of HgiShaderFunction.
Describes the properties needed to create a GPU shader function.