DirectX11Effect

Description

abstract class Tinman.AddOns.DirectX11.Effects.DirectX11Effect
<TParameters : RenderEffectParameters>

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

Abstract base class for Direct3D 11 IRenderEffect implementations.

An implementing class must perform the following steps in its constructor:

Public / Constants

CS


public constant CS → (0:int32)

Shader type index: Compute Shader

DS


public constant DS → (1:int32)

Shader type index: Domain Shader

GS


public constant GS → (2:int32)

Shader type index: Geometry Shader

HS


public constant HS → (3:int32)

Shader type index: Hull Shader

PS


public constant PS → (4:int32)

Shader type index: Pixel Shader

VS


public constant VS → (5:int32)

Shader type index: Vertex Shader

Public / Methods

Signature​Create


public method SignatureCreate → ()

Creates a new shader input signature.

All subsequently created VS shader objects will use the same input signature, until SignatureCreate is called again. Calling SignatureCreate multiple times without creating shader objects in between is valid and will not create redundant signatures. If the same signature shall be used for all shader object, this method does not need to be called.

Public / Attributes

Shader​Signature​Count


public attribute ShaderSignatureCount → (get)

value : int32

[>=0]
The number of shader input signatures.

Returns the number of shader input signatures.

Protected / Constructors

Direct​X11​Effect


protected constructor DirectX11Effect → (2)

parameters in : TParameters

[not-null]
The render effect parameters object.

owner in : DirectX11Context

[not-null]
The owning context.

Creates a new instance of DirectX11Effect.