ModelRendererMode

Description

enum Tinman.Engine.Models.ModelRendererMode

Enumeration of render modes for ModelRenderer.Mode.

Public / Constants

Default

public constant Default → (0:int32)

Default render mode.

This render mode may be used to draw opaque geometry (optionally with alpha-to-coverage) or transparent geometry (using alpha-blending).

Shadow

public constant Shadow → (1:int32)

Render mode for filling the shadow-maps with opaque geometry (optionally with alpha-to-coverage).

Transparent geometry will be skipped by ModelRenderer.Render while in this mode, i.e. subsequent calls to ModelRenderer.FlushQueue for the transparent queue will never submit any GPU work.