The methods of the GpuVariable class are listed below. For a complete list of GpuVariable class members, see the GpuVariable Members topic.
AddProperty | Overloaded. Add a single property to the GpuVariable, before setting texture data. |
ClearProperty | Removes a value from the property list at specified index. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
SetSubTexData | Adds a property to texture while it is in use. Used by attack methods. |
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. This is required b/c the gpu does not guarentee that we can read and write to the same texture in the same pass. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
UnScale | Unscale the data coming out of the texture to it's original scale. |
WriteToFile | Debug function that writes the read and write textures to files named using the outTexName value. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
GpuVariable Class | DarkWynter.Stream.PhysicsGpu Namespace