Demo

Description

sealed class Tinman.Shaders.Demo.Demo

Derived from

GpuCode abstract

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

The render effect code used by Example_DemoFactory.

Public / Methods

PS


[PixelShader]
public static method PS → (1)

data in : PS_In

The shader input.

returns → PS_Out_Target

The shader output.

Computes the next generation of the Game of Life.

VS


[VertexShader]
public static method VS → (1)

data in : VS_In

The shader input.

returns → PS_In

The shader output.

Sets up the full-screen quad for running PS on each cell of the Game of Life.