nw::gfx::BasicRenderQueue::EnqueueMesh Member Function

Syntax

ElementType * EnqueueMesh(
     ResMesh mesh,
     Model * model,
     float depth,
     u8 layerId
);

Arguments

Name Description
in mesh Mesh.
in model Model serving as the owner of the mesh.
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 mesh to the queue.


CONFIDENTIAL