SetRenderTargetsExt command attributes. More...
#include <DeviceContext.h>
Public Attributes | |
Uint32 | NumRenderTargets = 0 |
Number of render targets to bind. | |
ITextureView ** | ppRenderTargets = nullptr |
ITextureView * | pDepthStencil = nullptr |
ITextureView * | pShadingRateMap = nullptr |
Shading rate texture view. Set null to disable variable rate shading. | |
RESOURCE_STATE_TRANSITION_MODE | StateTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE |
SetRenderTargetsExt command attributes.
This structure is used by IDeviceContext::SetRenderTargetsExt().
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.
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.
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).