DirectX12Effect

Description

abstract class Tinman.AddOns.DirectX12.Effects.DirectX12Effect
<TParameters : RenderEffectParameters>

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

Abstract base class for Direct3D 12 IRenderEffect implementations.

Public / Constants

AS


public constant AS → (0:int32)

Shader type index: Amplification Shader

CS


public constant CS → (1:int32)

Shader type index: Compute Shader

DS


public constant DS → (2:int32)

Shader type index: Domain Shader

GS


public constant GS → (3:int32)

Shader type index: Geometry Shader

HS


public constant HS → (4:int32)

Shader type index: Hull Shader

MS


public constant MS → (5:int32)

Shader type index: Mesh Shader

PS


public constant PS → (6:int32)

Shader type index: Pixel Shader

VS


public constant VS → (7:int32)

Shader type index: Vertex Shader

Protected / Constructors

Direct​X12​Effect


protected constructor DirectX12Effect → (3)

parameters in : TParameters

[not-null]
The render effect parameters object.

owner in : DirectX12Context

[not-null]
The owning context.

parameterDeclareWithFlags opt : int32 = -1

The flags to use for calling RenderEffectParameters.Declare or -1 to not perform the call.

Creates a new instance of DirectX12Effect.

RenderException

If an error has occurred while declaring low-level render effect parameter slots.

Protected / Attributes

owner


protected attribute owner → (DirectX12Context)

The owning graphics context.