RenderStatePreset

Description

enum Tinman.Engine.Rendering.RenderStatePreset

Enumeration of commonly used render state blocks.

An implementation of RenderEffect should provide helper methods for applying render state values based on the items of this enumeration. Those should be named as RenderStateApply.

Public / Constants

AlphaCoverage

public constant AlphaCoverage → (0:int32)

Opaque geometry using alpha-to-coverage.

AlphaBlending

public constant AlphaBlending → (1:int32)

Transparent geometry using alpha-blending.

AntiAliasing

public constant AntiAliasing → (2:int32)

Anti-aliasing via multisampling and/or smooth rendering of graphics primitives.

NoCulling

public constant NoCulling → (3:int32)

Disable triangle culling.

NoZWrite

public constant NoZWrite → (4:int32)

Disable writing to the Z-buffer.

Wireframe

public constant Wireframe → (5:int32)

Wireframe rendering.