Tesseract Engine Documentation

GpuVariableInterface Methods

The methods of the GpuVariableInterface interface are listed below. For a complete list of GpuVariableInterface interface members, see the GpuVariableInterface Members topic.

Public Instance Methods

AddPropertyOverloaded. Add a single property to the GpuVariable, before setting texture data.
SetTexData Set the texture with all added properties. Scales values based on minValue and maxValue, to between 0-1.
SwapBuffers Swap the read and write textures. Must be done each pass for previously rendered data to be availible to shaders during next pass.
WriteToFile Usefull function for debugging. Writes texture out to an image file.

See Also

GpuVariableInterface Interface | DarkWynter.Stream.PhysicsGpu Namespace