nw::demo::SimpleApp Class

Syntax

class SimpleApp

Description

A simple application.

Enumerated Types

Display Definition of the display to be drawn.
DisplaySize Display size constants.

Member Variables

m_CurrentDisplay
m_pRenderSystem
m_pRenderTargetUpper
m_pRenderTargetLower
m_DeviceAllocator
protected S s_pInstance Pointer to a singleton object.

Member Functions

Memory Allocation and Release
S Allocate Allocates memory from main memory.
S AllocateDeviceMemory Allocates memory from device memory.
S Free Frees memory.
GetAllocator Gets a memory allocator.
GetDeviceAllocator Gets a device memory allocator.
Rendering
SetRenderingTarget Sets render targets.
GetFrameBufferObject Gets the configured frame buffer object to be rendered.
SwapBuffer Swaps the display from the render buffer to the display buffer.
Other
S GetInstance Gets an instance.
Initialize Performs initialization.
Finalize Performs finalization.
protected SimpleApp Constructor.
protected TransferBuffer Transfers the current buffer contents.

CONFIDENTIAL