nw::gfx::IRenderTarget::Description Structure

Syntax

struct Description
{
   s32 width;
   s32 height;
   RenderColorFormat colorFormat;
   RenderDepthFormat depthFormat;
   GraphicsMemoryArea colorArea;
   GraphicsMemoryArea depthArea;
   u32 colorAddress;
   u32 depthAddress;
   ShadowKind shadowKind;
};

Description

Content configured for a render target.

Member Variables

width s32 Width of the render target.
height s32 Height of the render target.
colorFormat RenderColorFormat Color format of the render target.
depthFormat RenderDepthFormat Depth format of the render target.
colorArea GraphicsMemoryArea Location of the render target's color buffer.
depthArea GraphicsMemoryArea Location of the render target's depth buffer.
colorAddress u32 Directly specifies the address of the color buffer to be drawn.
depthAddress u32 Directly specifies the address of the depth buffer to be drawn.
shadowKind ShadowKind The shadow type.

Member Functions

Description Constructor.

CONFIDENTIAL