Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Toggles the literal status of a parameter.
Definition
Visual Basic Public Sub SetLiteral( _
ByVal parameter As EffectHandle, _
ByVal value As Boolean _
)C# public void SetLiteral(
EffectHandle parameter,
bool value
);C++ public:
void SetLiteral(
EffectHandle^ parameter,
bool value
);JScript public function SetLiteral(
parameter : EffectHandle,
value : boolean
);
Parameters
parameter Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle that is used as a unique identifier for the parameter.value System.Boolean
Set to true to make the parameter a literal. Set to false if the parameter can change value during the shader lifetime.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also