Render3D.SetProgramConstantFloat3

This page contains reference documentation for the SetProgramConstantFloat3 function. This function is used to store three floating point values inside a program constant with at least three components before execution. The values are then available to the program during execution.

Prototype

int SetProgramConstantFloat3( int ProgramHandle, int ConstantIndex, double Value1, double Value2, double Value3 )

Parameters

Function parameters are as follows:

  • ProgramHandle: Reserved.
  • ConstantIndex: The index of the constant whose value is to be set.
  • Value1: A value to store in the first component of the constant.
  • Value2: A value to store in the second component of the constant.
  • Value3: A value to store in the third component of the constant.