7 #ifndef PXR_IMAGING_HGI_GL_COMPUTE_CMDS_H
8 #define PXR_IMAGING_HGI_GL_COMPUTE_CMDS_H
54 const void*
data)
override;
57 void Dispatch(
int dimX,
int dimY)
override;
GLuint GLsizei const GLchar * label
#define PXR_NAMESPACE_OPEN_SCOPE
HGIGL_API void InsertMemoryBarrier(HgiMemoryBarrier barrier) override
HGIGL_API void SetConstantValues(HgiComputePipelineHandle pipeline, uint32_t bindIndex, uint32_t byteSize, const void *data) override
HGIGL_API void BindPipeline(HgiComputePipelineHandle pipeline) override
HGIGL_API HgiComputeDispatch GetDispatchMethod() const override
Returns the dispatch method for this encoder.
HGIGL_API void PopDebugGroup() override
Pop the last debug scope.
HGIGL_API void BindResources(HgiResourceBindingsHandle resources) override
HGIGL_API bool _Submit(Hgi *hgi, HgiSubmitWaitType wait) override
static constexpr GfVec4f s_markerDebugColor
static constexpr GfVec4f s_computeDebugColor
HGIGL_API void PushDebugGroup(const char *label, const GfVec4f &color=s_computeDebugColor) override
Push a debug scope.
#define PXR_NAMESPACE_CLOSE_SCOPE
HGIGL_API ~HgiGLComputeCmds() override
std::vector< HgiGLOpsFn > HgiGLOpsVector
HGIGL_API void Dispatch(int dimX, int dimY) override
HGIGL_API void InsertDebugMarker(const char *label, const GfVec4f &color=s_markerDebugColor) override
Insert a debug marker.