| DefaultEffectBinderDebug1 Property |
Gets or sets the value for effect parameters with the semantic
Debug and index 1.
Namespace: DigitalRune.Graphics.EffectsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static Vector4 Debug1 { get; set; }
Public Shared Property Debug1 As Vector4
Get
Set
public:
static property Vector4 Debug1 {
Vector4 get ();
void set (Vector4 value);
}
static member Debug1 : Vector4 with get, set
Property Value
Type:
Vector4
The value for effect parameters with the semantic
Debug and index 1.
Remarks
Use this value to simply and quickly inject values into a shader while debugging, e.g. you
can set this property to (1, 0, 0, 0) if a key is pressed on the keyboard and use this info
in the shader to perform a different action.
See Also