Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Extends IOperand with Name and Usage properties, specific for named variables
and input/output shader parameters.
Namespace: Visual3D.Graphics3D.Shaders.SharpSL.CoreAssembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Members
| All Members | Properties | Methods |
| Member | Description | |
|---|---|---|
| Clone()()()() | Returns exact copy of the variable | |
| ContainsChanges | Gets/sets flag indicate that operand has changed it's value. Affected in IOperand.Data setter. (Inherited from IOperand.) | |
| CopyTo(array<Vector4>[]()[][], Int32, Int32) | Copies this value into target array of Vector4's, starting from given position. (Inherited from IOperand.) | |
| Declare()()()() | Ensures that operand was previously declared and initialized,
and therefore can be used in expressions or as function argument (Inherited from IOperand.) | |
| GetHLSL(StringBuilder) | Appends HLSL representation of this operand to destination StringBuilder. (Inherited from IOperand.) | |
| HLSLType | Returns HLSL type name of this operand. Normally, this differs from C# type. (Inherited from IOperand.) | |
| IsDeclared | Gets/sets flag indicate that variable has been declared | |
| Item[([( Int32])]) | Accesses given component as single float value, by flat index. Used internally by engine. (Inherited from IOperand.) | |
| Item[([( Int32, Int32])]) | Accesses given row and column as single float value. In HLSL almost any operand can be used in this way. (Inherited from IOperand.) | |
| Metadata | Metadata associated with parameter | |
| Name | Gets/sets name of named variable. | |
| NumColumns | Returns number of columns in vector and matrix operands. (Inherited from IOperand.) | |
| NumComponents | Returns total count of float components, used internally. (Inherited from IOperand.) | |
| NumRows | Returns number of rows in matrix operands. (Inherited from IOperand.) | |
| Usage | Returns usage of the variable. |