24 #ifndef PXR_IMAGING_HGI_COMPUTE_CMDS_H
25 #define PXR_IMAGING_HGI_COMPUTE_CMDS_H
85 const void*
data) = 0;
90 virtual void Dispatch(
int dimX,
int dimY) = 0;
106 HgiComputeCmds & operator=(
const HgiComputeCmds&) =
delete;
GLuint GLsizei const GLchar * label
HGI_API ~HgiComputeCmds() override
virtual HGI_API void PushDebugGroup(const char *label)=0
Push a debug marker.
virtual HGI_API void Dispatch(int dimX, int dimY)=0
virtual HGI_API void PopDebugGroup()=0
Pop the last debug marker.
virtual HGI_API void BindResources(HgiResourceBindingsHandle resources)=0
virtual HGI_API void BindPipeline(HgiComputePipelineHandle pipeline)=0
virtual HGI_API HgiComputeDispatch GetDispatchMethod() const =0
Returns the dispatch method for this encoder.
std::unique_ptr< class HgiComputeCmds > HgiComputeCmdsUniquePtr
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual HGI_API void SetConstantValues(HgiComputePipelineHandle pipeline, uint32_t bindIndex, uint32_t byteSize, const void *data)=0
virtual HGI_API void InsertMemoryBarrier(HgiMemoryBarrier barrier)=0