nw::demo::RenderSystem::EnqueueRenderCommand Member Function

Syntax

void EnqueueRenderCommand(
     gfx::RenderCommand * renderCommand,
     gfx::ResMaterial::TranslucencyKind translucencyKind,
     u8 priority,
     u8 layerId
);

Arguments

Name Description
in renderCommand Command.
in translucencyKind Type of translucency.
in priority Render priority of the mesh.
in layerId ID that is given highest priority when sorting render elements. This is used to control rendering of layers and billboarding.

Return Values

None.

Description

Stacks render command elements in the render queue.


CONFIDENTIAL