Axiom.SceneManagers.Bsp.BspGeometry.UpdateCustomGpuParameter C# (CSharp) Method

UpdateCustomGpuParameter() public method

Update a custom GpuProgramParameters constant which is derived from information only this Renderable knows.
This method allows a Renderable to map in a custom GPU program parameter based on it's own data. This is represented by a GPU auto parameter of AutoConstantType.Custom, and to allow there to be more than one of these per Renderable, the 'data' field on the auto parameter will identify which parameter is being updated. The implementation of this method must identify the parameter being updated, and call a 'SetConstant' method on the passed in GpuProgramParameters object, using the details provided in the incoming auto constant setting to identify the index at which to set the parameter.
public UpdateCustomGpuParameter ( GpuProgramParameters constant, GpuProgramParameters parameters ) : void
constant Axiom.Graphics.GpuProgramParameters The auto constant entry referring to the parameter being updated.
parameters Axiom.Graphics.GpuProgramParameters The parameters object which this method should call to set the updated parameters.
return void
		public void UpdateCustomGpuParameter( GpuProgramParameters.AutoConstantEntry constant, GpuProgramParameters parameters )
		{
		}