24 #ifndef PXR_IMAGING_HDX_EFFECTS_SHADER_H
25 #define PXR_IMAGING_HDX_EFFECTS_SHADER_H
154 uint32_t vertexCount,
156 uint32_t instanceCount,
157 uint32_t baseInstance);
166 uint32_t indexBufferByteOffset,
168 uint32_t instanceCount,
169 uint32_t baseInstance);
181 void _CreatePipeline(
186 void _DestroyPipeline();
188 void _CreateResourceBindings();
189 void _DestroyResourceBindings();
195 std::vector<uint8_t> _constantsData;
203 #endif // PXR_IMAGING_HDX_EFFECTS_SHADER_H
std::vector< HgiTextureBindDesc > HgiTextureBindDescVector
virtual HDX_API ~HdxEffectsShader()
HDX_API const std::string & _GetDebugName() const
std::vector< HgiAttachmentDesc > HgiAttachmentDescVector
std::vector< HgiBufferBindDesc > HgiBufferBindDescVector
GLsizei const GLchar *const * string
HDX_API void _DrawIndexed(const HgiBufferHandle &vertexBuffer, const HgiBufferHandle &indexBuffer, uint32_t indexCount, uint32_t indexBufferByteOffset, uint32_t baseVertex, uint32_t instanceCount, uint32_t baseInstance)
HdxEffectsShader()=delete
HDX_API void _SetTextureBindings(const HgiTextureBindDescVector &textures)
int HgiHandle< class HgiTexture > HgiTextureHandle
HDX_API void _SetRasterizationState(const HgiRasterizationState &rasterizationState)
std::vector< HgiTextureHandle > HgiTextureHandleVector
std::vector< HgiVertexBufferDesc > HgiVertexBufferDescVector
HDX_API void _SetMultiSampleState(const HgiMultiSampleState &multiSampleState)
HdxEffectsShader & operator=(const HdxEffectsShader &)=delete
std::unique_ptr< class HgiGraphicsCmds > HgiGraphicsCmdsUniquePtr
HDX_API void _DestroyShaderProgram(HgiShaderProgramHandle *shaderProgram)
HDX_API void _SetBufferBindings(const HgiBufferBindDescVector &buffers)
HDX_API void _SetShaderProgram(const HgiShaderProgramHandle &shaderProgram)
static void PrintCompileErrors(const HgiShaderFunctionHandle &shaderFn)
HDX_API void _SetShaderConstants(uint32_t byteSize, const void *data, HgiShaderStage stageUsage)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HDX_API void _DrawNonIndexed(const HgiBufferHandle &vertexBuffer, uint32_t vertexCount, uint32_t baseVertex, uint32_t instanceCount, uint32_t baseInstance)
#define PXR_NAMESPACE_CLOSE_SCOPE
HDX_API void _SetColorAttachments(const HgiAttachmentDescVector &colorAttachmentDescs)
virtual HDX_API void _RecordDrawCmds()=0
HDX_API void _SetPrimitiveType(HgiPrimitiveType primitiveType)
HDX_API void _SetVertexBufferDescs(const HgiVertexBufferDescVector &vertexBufferDescs)
HDX_API void _CreateAndSubmitGraphicsCmds(const HgiTextureHandleVector &colorTextures, const HgiTextureHandleVector &colorResolveTextures, const HgiTextureHandle &depthTexture, const HgiTextureHandle &depthResolveTexture, const GfVec4i &viewport)
HDX_API Hgi * _GetHgi() const
HDX_API void _SetDepthStencilState(const HgiDepthStencilState &depthStencilState)
HDX_API void _SetDepthAttachment(const HgiAttachmentDesc &depthAttachmentDesc)