Tesseract Engine Documentation

GpuVariable Constructor (String, EffectParameter, GpuProcessorMode, Boolean, Single, Single)

Creates a structure for executing a single pass on the shader hardware. Each GpuVariable contains a multiple instances of the same data. Eg - velocity

public GpuVariable(
   String shadeTechnique,
   EffectParameter gpuParameterPointer,
   Enums_Stream.GpuProcessorMode ProcessorMode,
   Boolean Update,
   Single minValue,
   Single maxValue
);

Parameters

shadeTechnique
Technique to use.
gpuParameterPointer
The Effect Parameter for this variable.
ProcessorMode
Process using Spatial or Indexed processing technique.
Update
Update this Variable each frame.
minValue
Minimum value of data added using AddProperty methods.
maxValue
Maximum value of data added using AddProperty methods.

See Also

GpuVariable Class | DarkWynter.Stream.PhysicsGpu Namespace | GpuVariable Constructor Overload List