Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::SetRenderTargetsAttribs Struct Reference

SetRenderTargetsExt command attributes. More...

#include <DeviceContext.h>

Public Attributes

Uint32 NumRenderTargets = 0
 Number of render targets to bind.
 
ITextureView ** ppRenderTargets = nullptr
 
ITextureViewpDepthStencil = nullptr
 
ITextureViewpShadingRateMap = nullptr
 Shading rate texture view. Set null to disable variable rate shading.
 
RESOURCE_STATE_TRANSITION_MODE StateTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE
 

Detailed Description

SetRenderTargetsExt command attributes.

This structure is used by IDeviceContext::SetRenderTargetsExt().

Member Data Documentation

◆ pDepthStencil

ITextureView* Diligent::SetRenderTargetsAttribs::pDepthStencil = nullptr

Pointer to the ITextureView that represents the depth stencil to bind to the device. The view type must be Diligent::TEXTURE_VIEW_DEPTH_STENCIL or Diligent::TEXTURE_VIEW_READ_ONLY_DEPTH_STENCIL.

◆ ppRenderTargets

ITextureView** Diligent::SetRenderTargetsAttribs::ppRenderTargets = nullptr

Array of pointers to ITextureView that represent the render targets to bind to the device. The type of each view in the array must be Diligent::TEXTURE_VIEW_RENDER_TARGET.

◆ StateTransitionMode

RESOURCE_STATE_TRANSITION_MODE Diligent::SetRenderTargetsAttribs::StateTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE

State transition mode of the render targets, depth stencil buffer and shading rate map being set (see Diligent::RESOURCE_STATE_TRANSITION_MODE).