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 Display
m_pRenderSystem nw::demo::RenderSystem *
m_pRenderTargetUpper nw::gfx::IRenderTarget *
m_pRenderTargetLower nw::gfx::IRenderTarget *
m_DeviceAllocator nw::demo::DemoAllocator
protected S s_pInstance SimpleApp * 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