Triangulate

Description

sealed class Tinman.Shaders.Terrain.Triangulate

Derived from

GpuCode abstract

Full source code is included in the Tinman 3D SDK download.

The render effect code used by TerrainFeatureLevel.DX11 and TerrainFeatureLevel.DX12 of ITerrainEffect.

Public / Constants

Compute​Threads


public constant ComputeThreads → (119:int32)

The number of compute threads to spawn.

Public / Methods

CS_​Sector​List


[ComputeShader(Triangulate.ComputeThreads, 1, 1)] [If("!HLSL_DX9")]
public static method CS_SectorList → (2)

groupId in : int3

The shader input.

threadId in : int3

The shader input.

The compute shader for decoding TriangleMode.SectorList.

CS_​Triangle​Terminal


[ComputeShader(Triangulate.ComputeThreads, 1, 1)] [If("!HLSL_DX9")]
public static method CS_TriangleTerminal → (2)

groupId in : int3

The shader input.

threadId in : int3

The shader input.

The compute shader for decoding TriangleMode.TriangleTerminal.