DirectX9Effect

Description

abstract class Tinman.AddOns.DirectX9.Effects.DirectX9Effect
<TParameters : RenderEffectParameters>

Derived from

RenderEffect<TParameters> abstract

Extended by

Example_DirectX9Effect sealed

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

Abstract base class for Direct3D 9 IRenderEffect implementations.

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

If an implementation wants to use low-level parameter slots, the following steps must be performed in the constructor:

The RS_SRGBWRITEENABLE render state is set automatically according to the RenderTargetFormat.Srgb format flags of render targets that have been set via IGraphicsContext.SetRenderTarget.

The SAMP_SRGBTEXTURE sampler state is set automatically according to ITexture.IsSrgb when a texture is set via IRenderEffectParameters.ParameterTexture1 or IRenderEffectParameters.ParameterTexture2.

Public / Constants

PS


public constant PS → (0:int32)

Shader type index: Pixel Shader

VS


public constant VS → (1:int32)

Shader type index: Vertex Shader

Public / Methods

Render​State​Alpha​To​Coverage


public method RenderStateAlphaToCoverage → (1)

enable in : bool

true to enable alpha-to-coverage, false to disable it.

returns → bool

The resulting alpha-to-coverage state. Will always be false if not supported.

Enables or disables the vendor-specific alpha-to-coverage extension.

Render​State​Bool


public method RenderStateBool → (2)

state in : int32

The RS_* render state to set.

value in : bool

The render state value.

Sets a render state value.

Render​State​Default


public method RenderStateDefault → ()

Sets default render state values.

These are the default render state values; (!) means that the value differs from the standard value that is defined by Direct3D:
RS_ALPHABLENDENABLE = false
RS_ALPHAFUNC = CMP_ALWAYS
RS_ALPHAREF = 0
RS_ALPHATESTENABLE = false
RS_ANTIALIASEDLINEENABLE = false
RS_BLENDFACTOR = ~0
RS_BLENDOP = BLENDOP_ADD
RS_BLENDOPALPHA = BLENDOP_ADD
RS_CCW_STENCILFAIL = STENCILOP_KEEP
RS_CCW_STENCILFUNC = CMP_ALWAYS
RS_CCW_STENCILPASS = STENCILOP_KEEP
RS_CCW_STENCILZFAIL = STENCILOP_KEEP
RS_CLIPPLANEENABLE = 0
RS_COLORWRITEENABLE = 0xF
RS_COLORWRITEENABLE1 = 0xF
RS_COLORWRITEENABLE2 = 0xF
RS_COLORWRITEENABLE3 = 0xF
RS_CULLMODE = CULL_CCW
RS_DEPTHBIAS = 0.0f
RS_DESTBLEND = BLEND_ZERO
RS_DESTBLENDALPHA = BLEND_ZERO
RS_DITHERENABLE = false
RS_FILLMODE = FILL_SOLID
RS_INDEXEDVERTEXBLENDENABLE = false
RS_LASTPIXEL = false (!)
RS_MULTISAMPLEANTIALIAS = false (!)
RS_MULTISAMPLEMASK = ~0
RS_NORMALIZENORMALS = false
RS_POINTSCALE_A = 1.0f
RS_POINTSCALE_B = 0.0f
RS_POINTSCALE_C = 0.0f
RS_POINTSCALEENABLE = false
RS_POINTSIZE_MAX = 64.0f
RS_POINTSIZE_MIN = 1.0f
RS_POINTSPRITEENABLE = false
RS_SCISSORTESTENABLE = false
RS_SEPARATEALPHABLENDENABLE = false
RS_SLOPESCALEDEPTHBIAS = 0.0f
RS_SRCBLEND = BLEND_ONE
RS_SRCBLENDALPHA = BLEND_ONE
RS_STENCILENABLE = false
RS_STENCILFAIL = STENCILOP_KEEP
RS_STENCILFUNC = CMP_ALWAYS
RS_STENCILMASK = ~0
RS_STENCILPASS = STENCILOP_KEEP
RS_STENCILREF = 0
RS_STENCILWRITEMASK = ~0
RS_STENCILZFAIL = STENCILOP_KEEP
RS_TWEENFACTOR = 0.0f
RS_TWOSIDEDSTENCILMODE = false
RS_VERTEXBLEND = 0
RS_ZENABLE = true
RS_ZFUNC = CMP_LESSEQUAL
RS_ZWRITEENABLE = true
These are the default sampler state values:
SAMP_ADDRESSU = TADDRESS_WRAP
SAMP_ADDRESSV = TADDRESS_WRAP
SAMP_ADDRESSW = TADDRESS_WRAP
SAMP_BORDERCOLOR = 0
SAMP_MAGFILTER = TEXF_POINT
SAMP_MINFILTER = TEXF_POINT
SAMP_MIPFILTER = TEXF_NONE
SAMP_MIPMAPLODBIAS = 0.0f
SAMP_MAXMIPLEVEL = 0
SAMP_MAXANISOTROPY = 1
SAMP_ELEMENTINDEX = 0
SAMP_DMAPOFFSET = 0.0f
These are the default non-standard render state values:
RenderStateAlphaToCoverage = false

Render​State​Float


public method RenderStateFloat → (2)

state in : int32

The RS_* render state to set.

value in : float32

The render state value.

Sets a render state value.

Render​State​Int


public method RenderStateInt → (2)

state in : int32

The RS_* render state to set.

value in : int32

The render state value.

Sets a render state value.

Sampler​State​Float


public method SamplerStateFloat → (3)

index in : int32

The sampler index.

state in : int32

The SAMP_* render state to set.

value in : float32

The sampler state value.

Sets a sampler state value.

Sampler​State​Int


public method SamplerStateInt → (3)

index in : int32

The sampler index.

state in : int32

The SAMP_* render state to set.

value in : int32

The sampler state value.

Sets a sampler state value.

Set​Pixel​Shader​Constant​Float


public method SetPixelShaderConstantFloat → (4)

index in : int32

The constant register.

values in : float32 [ ]

The values to set.

first in : int32

Index into values in to first value.

tuples in : int32

Number of float4 tuples to read from values in.

Sets a pixel shader constant.

This method writes to one or more constant float registers (c?).

Set​Texture

2 overloads


public method SetTexture1 → (2)

stage in : int32

The texture stage index.

texture in : DirectX9Texture2D

The texture to set.

Sets the texture of the given texture stage.

The SAMP_SRGBTEXTURE sampler state is set automatically according to ITexture.IsSrgb


public method SetTexture2 → (2)

stage in : int32

The texture stage index.

texture in : DirectX9TextureCube

The texture to set.

Sets the texture of the given texture stage.

The SAMP_SRGBTEXTURE sampler state is set automatically according to ITexture.IsSrgb

Set​Texture​Null


public method SetTextureNull → (1)

stage in : int32

The texture stage index.

Sets the texture of the given texture stage to null.

Set​Vertex​Shader​Constant​Float


public method SetVertexShaderConstantFloat → (4)

index in : int32

The constant register.

values in : float32 [ ]

The values to set.

first in : int32

Index into values in to first value.

tuples in : int32

Number of float4 tuples to read from values in.

Sets a vertex shader constant.

This method writes to one or more constant float registers (c?).

Texture​Stage


public method TextureStage → (1)

slot in : int32

[0..IRenderEffectParameters.ParameterSlotCount-1]
The parameter slot.

returns → int32

The associated texture stage or -1 if the parameter is not used by the current pass.

Returns the texture stage that is associated with the given parameter slot.

Texture​Stages


public method TextureStages → (1)

slot in : int32

[0..IRenderEffectParameters.ParameterSlotCount-1]
The parameter slot.

returns → int32 [ ]

The associated texture stages.

Returns the texture stages that are associated with the given parameter slot.

Protected / Constants

BLEND_​BLENDFACTOR


protected constant BLEND_BLENDFACTOR → (14:int32)

BLEND_BLENDFACTOR = 14

BLEND_​BOTHINVSRCALPHA


protected constant BLEND_BOTHINVSRCALPHA → (13:int32)

BLEND_BOTHINVSRCALPHA = 13

BLEND_​BOTHSRCALPHA


protected constant BLEND_BOTHSRCALPHA → (12:int32)

BLEND_BOTHSRCALPHA = 12

BLEND_​DESTALPHA


protected constant BLEND_DESTALPHA → (7:int32)

BLEND_DESTALPHA = 7

BLEND_​DESTCOLOR


protected constant BLEND_DESTCOLOR → (9:int32)

BLEND_DESTCOLOR = 9

BLEND_​INVBLENDFACTOR


protected constant BLEND_INVBLENDFACTOR → (15:int32)

BLEND_INVBLENDFACTOR = 15

BLEND_​INVDESTALPHA


protected constant BLEND_INVDESTALPHA → (8:int32)

BLEND_INVDESTALPHA = 8

BLEND_​INVDESTCOLOR


protected constant BLEND_INVDESTCOLOR → (10:int32)

BLEND_INVDESTCOLOR = 10

BLEND_​INVSRCALPHA


protected constant BLEND_INVSRCALPHA → (6:int32)

BLEND_INVSRCALPHA = 6

BLEND_​INVSRCCOLOR


protected constant BLEND_INVSRCCOLOR → (4:int32)

BLEND_INVSRCCOLOR = 4

BLEND_​INVSRCCOLOR2


protected constant BLEND_INVSRCCOLOR2 → (17:int32)

BLEND_INVSRCCOLOR2 = 17

BLEND_​ONE


protected constant BLEND_ONE → (2:int32)

BLEND_ONE = 2

BLEND_​SRCALPHA


protected constant BLEND_SRCALPHA → (5:int32)

BLEND_SRCALPHA = 5

BLEND_​SRCALPHASAT


protected constant BLEND_SRCALPHASAT → (11:int32)

BLEND_SRCALPHASAT = 11

BLEND_​SRCCOLOR


protected constant BLEND_SRCCOLOR → (3:int32)

BLEND_SRCCOLOR = 3

BLEND_​SRCCOLOR2


protected constant BLEND_SRCCOLOR2 → (16:int32)

BLEND_SRCCOLOR2 = 16

BLEND_​ZERO


protected constant BLEND_ZERO → (1:int32)

BLEND_ZERO = 1

BLENDOP_​ADD


protected constant BLENDOP_ADD → (1:int32)

BLENDOP_ADD = 1

BLENDOP_​MAX


protected constant BLENDOP_MAX → (5:int32)

BLENDOP_MAX = 5

BLENDOP_​MIN


protected constant BLENDOP_MIN → (4:int32)

BLENDOP_MIN = 4

BLENDOP_​REVSUBTRACT


protected constant BLENDOP_REVSUBTRACT → (3:int32)

BLENDOP_REVSUBTRACT = 3

BLENDOP_​SUBTRACT


protected constant BLENDOP_SUBTRACT → (2:int32)

BLENDOP_SUBTRACT = 2

CMP_​ALWAYS


protected constant CMP_ALWAYS → (8:int32)

CMP_ALWAYS = 8

CMP_​EQUAL


protected constant CMP_EQUAL → (3:int32)

CMP_EQUAL = 3

CMP_​GREATER


protected constant CMP_GREATER → (5:int32)

CMP_GREATER = 5

CMP_​GREATEREQUAL


protected constant CMP_GREATEREQUAL → (7:int32)

CMP_GREATEREQUAL = 7

CMP_​LESS


protected constant CMP_LESS → (2:int32)

CMP_LESS = 2

CMP_​LESSEQUAL


protected constant CMP_LESSEQUAL → (4:int32)

CMP_LESSEQUAL = 4

CMP_​NEVER


protected constant CMP_NEVER → (1:int32)

CMP_NEVER = 1

CMP_​NOTEQUAL


protected constant CMP_NOTEQUAL → (6:int32)

CMP_NOTEQUAL = 6

COLORWRITEENABLE_​ALPHA


protected constant COLORWRITEENABLE_ALPHA → (8:int32)

COLORWRITEENABLE_ALPHA = 8

COLORWRITEENABLE_​BLUE


protected constant COLORWRITEENABLE_BLUE → (4:int32)

COLORWRITEENABLE_BLUE = 4

COLORWRITEENABLE_​GREEN


protected constant COLORWRITEENABLE_GREEN → (2:int32)

COLORWRITEENABLE_GREEN = 2

COLORWRITEENABLE_​RED


protected constant COLORWRITEENABLE_RED → (1:int32)

COLORWRITEENABLE_RED = 1

CULL_​CCW


protected constant CULL_CCW → (3:int32)

CULL_CCW = 3

CULL_​CW


protected constant CULL_CW → (2:int32)

CULL_CW = 2

CULL_​NONE


protected constant CULL_NONE → (1:int32)

CULL_NONE = 1

FILL_​POINT


protected constant FILL_POINT → (1:int32)

FILL_POINT = 1

FILL_​SOLID


protected constant FILL_SOLID → (3:int32)

FILL_SOLID = 3

FILL_​WIREFRAME


protected constant FILL_WIREFRAME → (2:int32)

FILL_WIREFRAME = 2

RS_​ADAPTIVETESS_​W


protected constant RS_ADAPTIVETESS_W → (183:int32)

RS_ADAPTIVETESS_W = 183

RS_​ADAPTIVETESS_​X


protected constant RS_ADAPTIVETESS_X → (180:int32)

RS_ADAPTIVETESS_X = 180

RS_​ADAPTIVETESS_​Y


protected constant RS_ADAPTIVETESS_Y → (181:int32)

RS_ADAPTIVETESS_Y = 181

RS_​ADAPTIVETESS_​Z


protected constant RS_ADAPTIVETESS_Z → (182:int32)

RS_ADAPTIVETESS_Z = 182

RS_​ALPHABLENDENABLE


protected constant RS_ALPHABLENDENABLE → (27:int32)

RS_ALPHABLENDENABLE = 27

RS_​ALPHAFUNC


protected constant RS_ALPHAFUNC → (25:int32)

RS_ALPHAFUNC = 25

RS_​ALPHAREF


protected constant RS_ALPHAREF → (24:int32)

RS_ALPHAREF = 24

RS_​ALPHATESTENABLE


protected constant RS_ALPHATESTENABLE → (15:int32)

RS_ALPHATESTENABLE = 15

RS_​AMBIENT


protected constant RS_AMBIENT → (139:int32)

RS_AMBIENT = 139

RS_​AMBIENTMATERIALSOURCE


protected constant RS_AMBIENTMATERIALSOURCE → (147:int32)

RS_AMBIENTMATERIALSOURCE = 147

RS_​ANTIALIASEDLINEENABLE


protected constant RS_ANTIALIASEDLINEENABLE → (176:int32)

RS_ANTIALIASEDLINEENABLE = 176

RS_​BLENDFACTOR


protected constant RS_BLENDFACTOR → (193:int32)

RS_BLENDFACTOR = 193

RS_​BLENDOP


protected constant RS_BLENDOP → (171:int32)

RS_BLENDOP = 171

RS_​BLENDOPALPHA


protected constant RS_BLENDOPALPHA → (209:int32)

RS_BLENDOPALPHA = 209

RS_​CCW_​STENCILFAIL


protected constant RS_CCW_STENCILFAIL → (186:int32)

RS_CCW_STENCILFAIL = 186

RS_​CCW_​STENCILFUNC


protected constant RS_CCW_STENCILFUNC → (189:int32)

RS_CCW_STENCILFUNC = 189

RS_​CCW_​STENCILPASS


protected constant RS_CCW_STENCILPASS → (188:int32)

RS_CCW_STENCILPASS = 188

RS_​CCW_​STENCILZFAIL


protected constant RS_CCW_STENCILZFAIL → (187:int32)

RS_CCW_STENCILZFAIL = 187

RS_​CLIPPING


protected constant RS_CLIPPING → (136:int32)

RS_CLIPPING = 136

RS_​CLIPPLANEENABLE


protected constant RS_CLIPPLANEENABLE → (152:int32)

RS_CLIPPLANEENABLE = 152

RS_​COLORVERTEX


protected constant RS_COLORVERTEX → (141:int32)

RS_COLORVERTEX = 141

RS_​COLORWRITEENABLE


protected constant RS_COLORWRITEENABLE → (168:int32)

RS_COLORWRITEENABLE = 168

RS_​COLORWRITEENABLE1


protected constant RS_COLORWRITEENABLE1 → (190:int32)

RS_COLORWRITEENABLE1 = 190

RS_​COLORWRITEENABLE2


protected constant RS_COLORWRITEENABLE2 → (191:int32)

RS_COLORWRITEENABLE2 = 191

RS_​COLORWRITEENABLE3


protected constant RS_COLORWRITEENABLE3 → (192:int32)

RS_COLORWRITEENABLE3 = 192

RS_​CULLMODE


protected constant RS_CULLMODE → (22:int32)

RS_CULLMODE = 22

RS_​DEBUGMONITORTOKEN


protected constant RS_DEBUGMONITORTOKEN → (165:int32)

RS_DEBUGMONITORTOKEN = 165

RS_​DEPTHBIAS


protected constant RS_DEPTHBIAS → (195:int32)

RS_DEPTHBIAS = 195

RS_​DESTBLEND


protected constant RS_DESTBLEND → (20:int32)

RS_DESTBLEND = 20

RS_​DESTBLENDALPHA


protected constant RS_DESTBLENDALPHA → (208:int32)

RS_DESTBLENDALPHA = 208

RS_​DIFFUSEMATERIALSOURCE


protected constant RS_DIFFUSEMATERIALSOURCE → (145:int32)

RS_DIFFUSEMATERIALSOURCE = 145

RS_​DITHERENABLE


protected constant RS_DITHERENABLE → (26:int32)

RS_DITHERENABLE = 26

RS_​EMISSIVEMATERIALSOURCE


protected constant RS_EMISSIVEMATERIALSOURCE → (148:int32)

RS_EMISSIVEMATERIALSOURCE = 148

RS_​ENABLEADAPTIVETESSELLATION


protected constant RS_ENABLEADAPTIVETESSELLATION → (184:int32)

RS_ENABLEADAPTIVETESSELLATION = 184

RS_​FILLMODE


protected constant RS_FILLMODE → (8:int32)

RS_FILLMODE = 8

RS_​FOGCOLOR


protected constant RS_FOGCOLOR → (34:int32)

RS_FOGCOLOR = 34

RS_​FOGDENSITY


protected constant RS_FOGDENSITY → (38:int32)

RS_FOGDENSITY = 38

RS_​FOGENABLE


protected constant RS_FOGENABLE → (28:int32)

RS_FOGENABLE = 28

RS_​FOGEND


protected constant RS_FOGEND → (37:int32)

RS_FOGEND = 37

RS_​FOGSTART


protected constant RS_FOGSTART → (36:int32)

RS_FOGSTART = 36

RS_​FOGTABLEMODE


protected constant RS_FOGTABLEMODE → (35:int32)

RS_FOGTABLEMODE = 35

RS_​FOGVERTEXMODE


protected constant RS_FOGVERTEXMODE → (140:int32)

RS_FOGVERTEXMODE = 140

RS_​INDEXEDVERTEXBLENDENABLE


protected constant RS_INDEXEDVERTEXBLENDENABLE → (167:int32)

RS_INDEXEDVERTEXBLENDENABLE = 167

RS_​LASTPIXEL


protected constant RS_LASTPIXEL → (16:int32)

RS_LASTPIXEL = 16

RS_​LIGHTING


protected constant RS_LIGHTING → (137:int32)

RS_LIGHTING = 137

RS_​LOCALVIEWER


protected constant RS_LOCALVIEWER → (142:int32)

RS_LOCALVIEWER = 142

RS_​MAXTESSELLATIONLEVEL


protected constant RS_MAXTESSELLATIONLEVEL → (179:int32)

RS_MAXTESSELLATIONLEVEL = 179

RS_​MINTESSELLATIONLEVEL


protected constant RS_MINTESSELLATIONLEVEL → (178:int32)

RS_MINTESSELLATIONLEVEL = 178

RS_​MULTISAMPLEANTIALIAS


protected constant RS_MULTISAMPLEANTIALIAS → (161:int32)

RS_MULTISAMPLEANTIALIAS = 161

RS_​MULTISAMPLEMASK


protected constant RS_MULTISAMPLEMASK → (162:int32)

RS_MULTISAMPLEMASK = 162

RS_​NORMALDEGREE


protected constant RS_NORMALDEGREE → (173:int32)

RS_NORMALDEGREE = 173

RS_​NORMALIZENORMALS


protected constant RS_NORMALIZENORMALS → (143:int32)

RS_NORMALIZENORMALS = 143

RS_​PATCHEDGESTYLE


protected constant RS_PATCHEDGESTYLE → (163:int32)

RS_PATCHEDGESTYLE = 163

RS_​POINTSCALE_​A


protected constant RS_POINTSCALE_A → (158:int32)

RS_POINTSCALE_A = 158

RS_​POINTSCALE_​B


protected constant RS_POINTSCALE_B → (159:int32)

RS_POINTSCALE_B = 159

RS_​POINTSCALE_​C


protected constant RS_POINTSCALE_C → (160:int32)

RS_POINTSCALE_C = 160

RS_​POINTSCALEENABLE


protected constant RS_POINTSCALEENABLE → (157:int32)

RS_POINTSCALEENABLE = 157

RS_​POINTSIZE


protected constant RS_POINTSIZE → (154:int32)

RS_POINTSIZE = 154

RS_​POINTSIZE_​MAX


protected constant RS_POINTSIZE_MAX → (166:int32)

RS_POINTSIZE_MAX = 166

RS_​POINTSIZE_​MIN


protected constant RS_POINTSIZE_MIN → (155:int32)

RS_POINTSIZE_MIN = 155

RS_​POINTSPRITEENABLE


protected constant RS_POINTSPRITEENABLE → (156:int32)

RS_POINTSPRITEENABLE = 156

RS_​POSITIONDEGREE


protected constant RS_POSITIONDEGREE → (172:int32)

RS_POSITIONDEGREE = 172

RS_​RANGEFOGENABLE


protected constant RS_RANGEFOGENABLE → (48:int32)

RS_RANGEFOGENABLE = 48

RS_​SCISSORTESTENABLE


protected constant RS_SCISSORTESTENABLE → (174:int32)

RS_SCISSORTESTENABLE = 174

RS_​SEPARATEALPHABLENDENABLE


protected constant RS_SEPARATEALPHABLENDENABLE → (206:int32)

RS_SEPARATEALPHABLENDENABLE = 206

RS_​SHADEMODE


protected constant RS_SHADEMODE → (9:int32)

RS_SHADEMODE = 9

RS_​SLOPESCALEDEPTHBIAS


protected constant RS_SLOPESCALEDEPTHBIAS → (175:int32)

RS_SLOPESCALEDEPTHBIAS = 175

RS_​SPECULARENABLE


protected constant RS_SPECULARENABLE → (29:int32)

RS_SPECULARENABLE = 29

RS_​SPECULARMATERIALSOURCE


protected constant RS_SPECULARMATERIALSOURCE → (146:int32)

RS_SPECULARMATERIALSOURCE = 146

RS_​SRCBLEND


protected constant RS_SRCBLEND → (19:int32)

RS_SRCBLEND = 19

RS_​SRCBLENDALPHA


protected constant RS_SRCBLENDALPHA → (207:int32)

RS_SRCBLENDALPHA = 207

RS_​SRGBWRITEENABLE


protected constant RS_SRGBWRITEENABLE → (194:int32)

RS_SRGBWRITEENABLE = 194

RS_​STENCILENABLE


protected constant RS_STENCILENABLE → (52:int32)

RS_STENCILENABLE = 52

RS_​STENCILFAIL


protected constant RS_STENCILFAIL → (53:int32)

RS_STENCILFAIL = 53

RS_​STENCILFUNC


protected constant RS_STENCILFUNC → (56:int32)

RS_STENCILFUNC = 56

RS_​STENCILMASK


protected constant RS_STENCILMASK → (58:int32)

RS_STENCILMASK = 58

RS_​STENCILPASS


protected constant RS_STENCILPASS → (55:int32)

RS_STENCILPASS = 55

RS_​STENCILREF


protected constant RS_STENCILREF → (57:int32)

RS_STENCILREF = 57

RS_​STENCILWRITEMASK


protected constant RS_STENCILWRITEMASK → (59:int32)

RS_STENCILWRITEMASK = 59

RS_​STENCILZFAIL


protected constant RS_STENCILZFAIL → (54:int32)

RS_STENCILZFAIL = 54

RS_​TEXTUREFACTOR


protected constant RS_TEXTUREFACTOR → (60:int32)

RS_TEXTUREFACTOR = 60

RS_​TWEENFACTOR


protected constant RS_TWEENFACTOR → (170:int32)

RS_TWEENFACTOR = 170

RS_​TWOSIDEDSTENCILMODE


protected constant RS_TWOSIDEDSTENCILMODE → (185:int32)

RS_TWOSIDEDSTENCILMODE = 185

RS_​VERTEXBLEND


protected constant RS_VERTEXBLEND → (151:int32)

RS_VERTEXBLEND = 151

RS_​WRAP0


protected constant RS_WRAP0 → (128:int32)

RS_WRAP0 = 128

RS_​WRAP1


protected constant RS_WRAP1 → (129:int32)

RS_WRAP1 = 129

RS_​WRAP10


protected constant RS_WRAP10 → (200:int32)

RS_WRAP10 = 200

RS_​WRAP11


protected constant RS_WRAP11 → (201:int32)

RS_WRAP11 = 201

RS_​WRAP12


protected constant RS_WRAP12 → (202:int32)

RS_WRAP12 = 202

RS_​WRAP13


protected constant RS_WRAP13 → (203:int32)

RS_WRAP13 = 203

RS_​WRAP14


protected constant RS_WRAP14 → (204:int32)

RS_WRAP14 = 204

RS_​WRAP15


protected constant RS_WRAP15 → (205:int32)

RS_WRAP15 = 205

RS_​WRAP2


protected constant RS_WRAP2 → (130:int32)

RS_WRAP2 = 130

RS_​WRAP3


protected constant RS_WRAP3 → (131:int32)

RS_WRAP3 = 131

RS_​WRAP4


protected constant RS_WRAP4 → (132:int32)

RS_WRAP4 = 132

RS_​WRAP5


protected constant RS_WRAP5 → (133:int32)

RS_WRAP5 = 133

RS_​WRAP6


protected constant RS_WRAP6 → (134:int32)

RS_WRAP6 = 134

RS_​WRAP7


protected constant RS_WRAP7 → (135:int32)

RS_WRAP7 = 135

RS_​WRAP8


protected constant RS_WRAP8 → (198:int32)

RS_WRAP8 = 198

RS_​WRAP9


protected constant RS_WRAP9 → (199:int32)

RS_WRAP9 = 199

RS_​ZENABLE


protected constant RS_ZENABLE → (7:int32)

RS_ZENABLE = 7

RS_​ZFUNC


protected constant RS_ZFUNC → (23:int32)

RS_ZFUNC = 23

RS_​ZWRITEENABLE


protected constant RS_ZWRITEENABLE → (14:int32)

RS_ZWRITEENABLE = 14

SAMP_​ADDRESSU


protected constant SAMP_ADDRESSU → (1:int32)

SAMP_ADDRESSU = 1

SAMP_​ADDRESSV


protected constant SAMP_ADDRESSV → (2:int32)

SAMP_ADDRESSV = 2

SAMP_​ADDRESSW


protected constant SAMP_ADDRESSW → (3:int32)

SAMP_ADDRESSW = 3

SAMP_​BORDERCOLOR


protected constant SAMP_BORDERCOLOR → (4:int32)

SAMP_BORDERCOLOR = 4

SAMP_​DMAPOFFSET


protected constant SAMP_DMAPOFFSET → (13:int32)

SAMP_DMAPOFFSET = 13

SAMP_​ELEMENTINDEX


protected constant SAMP_ELEMENTINDEX → (12:int32)

SAMP_ELEMENTINDEX = 12

SAMP_​MAGFILTER


protected constant SAMP_MAGFILTER → (5:int32)

SAMP_MAGFILTER = 5

SAMP_​MAXANISOTROPY


protected constant SAMP_MAXANISOTROPY → (10:int32)

SAMP_MAXANISOTROPY = 10

SAMP_​MAXMIPLEVEL


protected constant SAMP_MAXMIPLEVEL → (9:int32)

SAMP_MAXMIPLEVEL = 9

SAMP_​MINFILTER


protected constant SAMP_MINFILTER → (6:int32)

SAMP_MINFILTER = 6

SAMP_​MIPFILTER


protected constant SAMP_MIPFILTER → (7:int32)

SAMP_MIPFILTER = 7

SAMP_​MIPMAPLODBIAS


protected constant SAMP_MIPMAPLODBIAS → (8:int32)

SAMP_MIPMAPLODBIAS = 8

STENCILOP_​DECR


protected constant STENCILOP_DECR → (8:int32)

STENCILOP_DECR = 8

STENCILOP_​DECRSAT


protected constant STENCILOP_DECRSAT → (5:int32)

STENCILOP_DECRSAT = 5

STENCILOP_​INCR


protected constant STENCILOP_INCR → (7:int32)

STENCILOP_INCR = 7

STENCILOP_​INCRSAT


protected constant STENCILOP_INCRSAT → (4:int32)

STENCILOP_INCRSAT = 4

STENCILOP_​INVERT


protected constant STENCILOP_INVERT → (6:int32)

STENCILOP_INVERT = 6

STENCILOP_​KEEP


protected constant STENCILOP_KEEP → (1:int32)

STENCILOP_KEEP = 1

STENCILOP_​REPLACE


protected constant STENCILOP_REPLACE → (3:int32)

STENCILOP_REPLACE = 3

STENCILOP_​ZERO


protected constant STENCILOP_ZERO → (2:int32)

STENCILOP_ZERO = 2

TADDRESS_​BORDER


protected constant TADDRESS_BORDER → (4:int32)

TADDRESS_BORDER = 4

TADDRESS_​CLAMP


protected constant TADDRESS_CLAMP → (3:int32)

TADDRESS_CLAMP = 3

TADDRESS_​MIRROR


protected constant TADDRESS_MIRROR → (2:int32)

TADDRESS_MIRROR = 2

TADDRESS_​MIRRORONCE


protected constant TADDRESS_MIRRORONCE → (5:int32)

TADDRESS_MIRRORONCE = 5

TADDRESS_​WRAP


protected constant TADDRESS_WRAP → (1:int32)

TADDRESS_WRAP = 1

TEXF_​ANISOTROPIC


protected constant TEXF_ANISOTROPIC → (3:int32)

TEXF_ANISOTROPIC = 3

TEXF_​CONVOLUTIONMONO


protected constant TEXF_CONVOLUTIONMONO → (8:int32)

TEXF_CONVOLUTIONMONO = 8

TEXF_​GAUSSIANQUAD


protected constant TEXF_GAUSSIANQUAD → (7:int32)

TEXF_GAUSSIANQUAD = 7

TEXF_​LINEAR


protected constant TEXF_LINEAR → (2:int32)

TEXF_LINEAR = 2

TEXF_​NONE


protected constant TEXF_NONE → (0:int32)

TEXF_NONE = 0

TEXF_​POINT


protected constant TEXF_POINT → (1:int32)

TEXF_POINT = 1

TEXF_​PYRAMIDALQUAD


protected constant TEXF_PYRAMIDALQUAD → (6:int32)

TEXF_PYRAMIDALQUAD = 6

Protected / Constructors

Direct​X9​Effect


protected constructor DirectX9Effect → (2)

parameters in : TParameters

[not-null]
The render effect parameters object.

owner in : DirectX9Context

[not-null]
The owning context.

Creates a new instance of DirectX9Effect.