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

Render target description. More...

#include <RadientRenderer.h>

Public Attributes

const Char * Name = nullptr
 Target name.
ISwapChain * pSwapChain = nullptr
ITextureView * pColorRTV = nullptr
ITextureView * pDepthDSV = nullptr

Detailed Description

Render target description.

Member Data Documentation

◆ pColorRTV

ITextureView* Diligent::RadientRenderTargetDesc::pColorRTV = nullptr

Native color render target view for local texture targets. When set, this view takes precedence over the swap-chain back buffer and must have type TEXTURE_VIEW_RENDER_TARGET.

◆ pDepthDSV

ITextureView* Diligent::RadientRenderTargetDesc::pDepthDSV = nullptr

Native depth-stencil view for local texture targets. When set, this view takes precedence over the swap-chain depth buffer and must have type TEXTURE_VIEW_DEPTH_STENCIL (writable depth-stencil view).

◆ pSwapChain

ISwapChain* Diligent::RadientRenderTargetDesc::pSwapChain = nullptr

Native swap chain for local presentation targets. Its current views are used when the corresponding explicit view below is null.