nw::gfx::BasicRenderQueue::EnqueueElement Member Function

Syntax

ElementType * EnqueueElement(
     const ElementType & element,
     ResMaterial::TranslucencyKind translucencyKind,
     float depth,
     u8 layerId
);

Arguments

Name Description
in element Render element to add.
in translucencyKind Type of translucency.
in depth Depth of the mesh in the screen coordinate system.(0.0 ~ 1.0)
in layerId ID that is given highest priority when sorting render elements. This is used to control rendering of layers and billboarding.

Return Values

Description

Adds a render element to the queue.


CONFIDENTIAL