24 #ifndef PXR_IMAGING_HGIGL_OPS_H
25 #define PXR_IMAGING_HGIGL_OPS_H
142 uint32_t primitiveIndexSize,
143 uint32_t vertexCount,
145 uint32_t instanceCount,
146 uint32_t baseInstance);
151 uint32_t primitiveIndexSize,
153 uint32_t drawBufferByteOffset,
160 uint32_t primitiveIndexSize,
163 uint32_t indexBufferByteOffset,
165 uint32_t instanceCount,
166 uint32_t baseInstance);
171 uint32_t primitiveIndexSize,
174 uint32_t drawBufferByteOffset,
static HGIGL_API HgiGLOpsFn CopyBufferToTexture(HgiBufferToTextureOp const ©Op)
static HGIGL_API HgiGLOpsFn BindResources(HgiResourceBindingsHandle resources)
GLuint GLsizei const GLchar * label
static HGIGL_API HgiGLOpsFn CopyTextureToBuffer(HgiTextureToBufferOp const ©Op)
std::function< void(void)> HgiGLOpsFn
static HGIGL_API HgiGLOpsFn CopyBufferGpuToGpu(HgiBufferGpuToGpuOp const ©Op)
static HGIGL_API HgiGLOpsFn ResolveFramebuffer(HgiGLDevice *device, HgiGraphicsCmdsDesc const &graphicsCmds)
int HgiHandle< class HgiTexture > HgiTextureHandle
static HGIGL_API HgiGLOpsFn CopyTextureGpuToCpu(HgiTextureGpuToCpuOp const ©Op)
static HGIGL_API HgiGLOpsFn CopyTextureCpuToGpu(HgiTextureCpuToGpuOp const ©Op)
std::vector< HgiVertexBufferBinding > HgiVertexBufferBindingVector
static HGIGL_API HgiGLOpsFn PopDebugGroup()
static HGIGL_API HgiGLOpsFn PushDebugGroup(const char *label)
static HGIGL_API HgiGLOpsFn GenerateMipMaps(HgiTextureHandle const &texture)
GLint GLenum GLboolean GLsizei stride
static HGIGL_API HgiGLOpsFn DrawIndexedIndirect(HgiPrimitiveType primitiveType, uint32_t primitiveIndexSize, HgiBufferHandle const &indexBuffer, HgiBufferHandle const &drawParameterBuffer, uint32_t drawBufferByteOffset, uint32_t drawCount, uint32_t stride)
static HGIGL_API HgiGLOpsFn Dispatch(int dimX, int dimY)
static HGIGL_API HgiGLOpsFn DrawIndirect(HgiPrimitiveType primitiveType, uint32_t primitiveIndexSize, HgiBufferHandle const &drawParameterBuffer, uint32_t drawBufferByteOffset, uint32_t drawCount, uint32_t stride)
static HGIGL_API HgiGLOpsFn SetScissor(GfVec4i const &sc)
static HGIGL_API HgiGLOpsFn InsertMemoryBarrier(HgiMemoryBarrier barrier)
static HGIGL_API HgiGLOpsFn DrawIndexed(HgiPrimitiveType primitiveType, uint32_t primitiveIndexSize, HgiBufferHandle const &indexBuffer, uint32_t indexCount, uint32_t indexBufferByteOffset, uint32_t baseVertex, uint32_t instanceCount, uint32_t baseInstance)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static HGIGL_API HgiGLOpsFn CopyBufferGpuToCpu(HgiBufferGpuToCpuOp const ©Op)
static HGIGL_API HgiGLOpsFn CopyBufferCpuToGpu(HgiBufferCpuToGpuOp const ©Op)
#define PXR_NAMESPACE_CLOSE_SCOPE
static HGIGL_API HgiGLOpsFn FillBuffer(HgiBufferHandle const &buffer, uint8_t value)
static HGIGL_API HgiGLOpsFn SetConstantValues(HgiGraphicsPipelineHandle pipeline, HgiShaderStage stages, uint32_t bindIndex, uint32_t byteSize, const void *data)
static HGIGL_API HgiGLOpsFn BindVertexBuffers(HgiVertexBufferBindingVector const &bindings)
static HGIGL_API HgiGLOpsFn BindPipeline(HgiGraphicsPipelineHandle pipeline)
static HGIGL_API HgiGLOpsFn SetViewport(GfVec4i const &vp)
static HGIGL_API HgiGLOpsFn Draw(HgiPrimitiveType primitiveType, uint32_t primitiveIndexSize, uint32_t vertexCount, uint32_t baseVertex, uint32_t instanceCount, uint32_t baseInstance)
static HGIGL_API HgiGLOpsFn BindFramebufferOp(HgiGLDevice *device, HgiGraphicsCmdsDesc const &desc)