ID3D10EffectVariable interface (d3d10effect.h)

The ID3D10EffectVariable interface is the base class for all effect variables.

The lifetime of an ID3D10EffectVariable object is equal to the lifetime of its parent ID3D10Effect object.

Method Description
AsBlend Get a effect-blend variable.
AsConstantBuffer Get a constant buffer.
AsDepthStencil Get a depth-stencil variable.
AsDepthStencilView Get a depth-stencil-view variable.
AsMatrix Get a matrix variable.
AsRasterizer Get a rasterizer variable.
AsRenderTargetView Get a render-target-view variable.
AsSampler Get a sampler variable.
AsScalar Get a scalar variable.
AsShader Get a shader variable.
AsShaderResource Get a shader-resource variable.
AsString Get a string variable.
AsVector Get a vector variable.
GetAnnotationByIndex Get an annotation by index.
GetAnnotationByName Get an annotation by name.
GetDesc Get a description.
GetElement Get an array element.
GetMemberByIndex Get a structure member by index.
GetMemberByName Get a structure member by name.
GetMemberBySemantic Get a structure member by semantic.
GetParentConstantBuffer Get a constant buffer.
GetRawValue Get data.
GetType Get type information.
IsValid Compare the data type with the data stored.
SetRawValue Set data.

Methods

The ID3D10EffectVariable interface has these methods.

 
ID3D10EffectVariable::AsBlend

Get a effect-blend variable.
ID3D10EffectVariable::AsConstantBuffer

Get a constant buffer. (ID3D10EffectVariable.AsConstantBuffer)
ID3D10EffectVariable::AsDepthStencil

Get a depth-stencil variable.
ID3D10EffectVariable::AsDepthStencilView

Get a depth-stencil-view variable.
ID3D10EffectVariable::AsMatrix

Get a matrix variable.
ID3D10EffectVariable::AsRasterizer

Get a rasterizer variable.
ID3D10EffectVariable::AsRenderTargetView

Get a render-target-view variable.
ID3D10EffectVariable::AsSampler

Get a sampler variable.
ID3D10EffectVariable::AsScalar

Get a scalar variable.
ID3D10EffectVariable::AsShader

Get a shader variable.
ID3D10EffectVariable::AsShaderResource

Get a shader-resource variable.
ID3D10EffectVariable::AsString

Get a string variable.
ID3D10EffectVariable::AsVector

Get a vector variable.
ID3D10EffectVariable::GetAnnotationByIndex

The ID3D10EffectVariable::GetAnnotationByIndex (d3d10effect.h) method gets an annotation by index.
ID3D10EffectVariable::GetAnnotationByName

Get an annotation by name. (ID3D10EffectVariable.GetAnnotationByName)
ID3D10EffectVariable::GetDesc

Get a description.
ID3D10EffectVariable::GetElement

Get an array element.
ID3D10EffectVariable::GetMemberByIndex

Get a structure member by index.
ID3D10EffectVariable::GetMemberByName

Get a structure member by name.
ID3D10EffectVariable::GetMemberBySemantic

Get a structure member by semantic.
ID3D10EffectVariable::GetParentConstantBuffer

Get a constant buffer. (ID3D10EffectVariable.GetParentConstantBuffer)
ID3D10EffectVariable::GetRawValue

Get data.
ID3D10EffectVariable::GetType

Get type information.
ID3D10EffectVariable::IsValid

Compare the data type with the data stored.
ID3D10EffectVariable::SetRawValue

Set data.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

Effect Interfaces (Direct3D 10)