nw::gfx::FrameBufferObject::Description Structure

Syntax

struct Description
{
   GLuint fboID;
   u32 height;
   u32 width;
   u32 colorFormat;
   u32 depthFormat;
   u32 colorAddress;
   u32 depthAddress;
   bool useBlock32;
};

Description

Content to configure.

Member Variables

fboID GLuint Sets the framebuffer object ID.
height u32 Buffer height
width u32 Buffer width.
colorFormat u32 Color buffer format.
depthFormat u32 Depth buffer format.
colorAddress u32 Specifies the color buffer address.
depthAddress u32 Specifies the depth buffer address.
useBlock32 bool Specifies whether to use block 32 mode. Usually, set false if not using EarlyDepthTest.

Member Functions

Description This is the default constructor.

CONFIDENTIAL