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.

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 / 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 → (4)

parameters in : TParameters

[not-null]
The render effect parameters object.

owner in : DirectX11Context

[not-null]
The owning context.

repositoryPrivate in : Path

[not-null]
The private GPU shader repository path or Path.Unknown if none.

parameterDeclareWithFlags opt : int32 = -1

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

Creates a new instance of DirectX11Effect.

RenderException

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