nw::gfx::BasicRenderQueue::EnqueueModel Member Function

Syntax

void EnqueueModel(
     Model * model,
     u8 layerId,
     const Camera & camera
);

Arguments

Name Description
in model Model serving as the owner 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.
in camera Camera used to calculate the mesh depth.

Return Values

None.

Description

Adds mesh elements included in the model to the queue.


CONFIDENTIAL