nw::demo Namespace

Description

Namespace for the demo library.

Note the following points when embedding this library in product code.
- The API is subject to change without notice.
- In principle, this library is not supported. (Minimal bug fixes will be made.)

Classes

nw::demo::CameraController Controls the camera with a pad.
nw::demo::CommandListSwapper Class for managing the command list and its buffering.
nw::demo::DebugUtility Collection of utility functions used for demo debugging.
nw::demo::DisplayBufferSwapper Handles display buffer transfer.
nw::demo::GraphicsDrawing Class for drawing characters and primitives for demos.
nw::demo::GraphicsMemoryAllocator Class for managing graphics memory.
nw::demo::RenderSystem Class for the collection of rendering features.
nw::demo::SceneSystem Class for collection of scene update functions.
nw::demo::DemoAllocator Main memory allocator for demos.
nw::demo::Pad Class representing game pads for demos.
nw::demo::PadFactory Class for generating a single game pad for demos.
nw::demo::ParticleNode This class is used for particle management. Management information is added to the transform node.
nw::demo::ParticleEffect Particle set for a single expression.
nw::demo::SimpleApp A simple application.
nw::demo::Utility Collection of utility functions used by demos.
nw::demo::FlushCache Test code for flushing the cache.

Structures

nw::demo::ResourceSet Represents a resource set.

Enumerated Types

ScreenKind Definition indicating the screen type.
BufferTransferMode Represents the display buffer transfer mode.
UpperScreenMode Definition indicating the display mode of the upper screen. Used as the argument specified by nngxExtensionMode.

typedef Definitions

ResourceArray

Constants

MAX_RESOURCES_COUNT
DEMO_MEMORY_SIZE
DEMO_PARTICLE_MEMORY_SIZE

Functions

Memory allocator
InitializeDemoAllocator Initializes the given demo allocator.
FinalizeDemoAllocator Frees the given demo allocator.
InitializeDemoMemory Initializes demo memory.
UnAlignMemory Restores aligned memory to allocated address.
Alloc Allocates memory from main memory.
Free Frees memory to the heap.
Dump Displays the status of main memory.
Other
InitializeGraphicsSystem Performs various initializations required by the graphics system.
FinalizeGraphicsSystem Performs shut-down processing of the graphics system.
SafeCleanupResources Cleans up resources.
AllocateGraphicsMemory The allocation function for GL and VRAM.
DeallocateGraphicsMemory The allocation function for GL and VRAM.

CONFIDENTIAL