nn::gr::CTR::FrameBuffer::DepthStencilBuffer Class

Syntax

class DepthStencilBuffer

Description

Class for configuring depth and stencil buffer settings.

Member Variables

virtualAddr uptr The depth and stencil buffer virtual address. Type is uptr.
format PicaDataDepth The depth and stencil buffer format. Type is PicaDataDepth.
width s32 The depth and stencil buffer width. Type is f32.
height s32 The depth and stencil buffer height. Type is f32.
clearDepth f32  Depth buffer clear value. Type is f32. Initial value is 1.0f.
clearStencil u8 Stencil buffer clear value. Type is u8. Initial value is 0.

Member Functions

DepthStencilBuffer Initializes the depth and stencil buffers to the initial values.
MakeCommand Generates a rendering command based on information already set.

Revision History

2010/10/25
Initial version.

CONFIDENTIAL