Diligent::GraphicsPipelineDesc struct

Graphics pipeline state description.

Contents

This structure describes the graphics pipeline state and is part of the GraphicsPipelineStateCreateInfo structure.

Public variables

BlendStateDesc BlendDesc
Blend state description.
Uint32 SampleMask
32-bit sample mask that determines which samples get updated in all the active render targets. A sample mask is always applied; it is independent of whether multisampling is enabled, and does not depend on whether an application uses multisample render targets.
RasterizerStateDesc RasterizerDesc
Rasterizer state description.
DepthStencilStateDesc DepthStencilDesc
Depth-stencil state description.
InputLayoutDesc InputLayout
Input layout, ignored in a mesh pipeline.
PRIMITIVE_TOPOLOGY PrimitiveTopology
Primitive topology type, ignored in a mesh pipeline.
Uint8 NumViewports
The number of viewports used by this pipeline.
Uint8 NumRenderTargets
The number of render targets in the RTVFormats array. Must be 0 when pRenderPass is not null.
Uint8 SubpassIndex
When pRenderPass is not null, the subpass index within the render pass. When pRenderPass is null, this member must be 0.
TEXTURE_FORMAT RTVFormats
Render target formats. All formats must be TEX_FORMAT_UNKNOWN when pRenderPass is not null.
TEXTURE_FORMAT DSVFormat
Depth-stencil format. Must be TEX_FORMAT_UNKNOWN when pRenderPass is not null.
SampleDesc SmplDesc
Multisampling parameters.
IRenderPass* pRenderPass
Pointer to the render pass object.
Uint32 NodeMask
Node mask.

Variable documentation

IRenderPass* Diligent::GraphicsPipelineDesc::pRenderPass

Pointer to the render pass object.

When non-null render pass is specified, NumRenderTargets must be 0, and all RTV formats as well as DSV format must be TEX_FORMAT_UNKNOWN.