//--------------------------------------------------------------------------------------------------------------------------------------------------- // // Copyright (C)2007 DarkWynter Studios. All rights reserved. // //--------------------------------------------------------------------------------------------------------------------------------------------------- // {Contact : darkwynter.com for licensing information //--------------------------------------------------------------------------------------------------------------------------------------------------- namespace DarkWynter.Stream.PhysicsGpu { #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; #endregion /// /// Wraps GpuVariable to be used as a Vector4 data type. /// public class Vec4 : GpuVariable { /// /// Constructor for Vec4 /// /// Technique to use for rendering /// GPU parameter where these values are stored /// Method of processing /// Whether this value needs to be updated every cycle /// Minimum value of data added using AddProperty methods. /// Maximum value of data added using AddProperty methods. public Vec4(string shadeTechnique, EffectParameter gpuParameterPointer, Enums_Stream.GpuProcessorMode ProcessorMode, bool Update, float minValue, float maxValue) : base(shadeTechnique, gpuParameterPointer, ProcessorMode, Update, minValue, maxValue) { } } }