Пример #1
0
 /// <summary>
 /// Sets a shader parameter value by name.
 /// </summary>
 /// <param name="param"></param>
 /// <param name="value"></param>
 public void SetShaderParam(ShaderColorParameter param, Vec3 value)
 {
     SetShaderParam(param.GetEngineName(), new Color(value.X, value.Y, value.Z));
 }
Пример #2
0
 /// <summary>
 /// Sets a shader parameter value by name.
 /// </summary>
 /// <param name="param"></param>
 /// <param name="value"></param>
 public void SetShaderParam(ShaderColorParameter param, Vec3 value)
 {
     SetShaderParam(param.GetEngineName(), new Color(value.X, value.Y, value.Z));
 }
Пример #3
0
 /// <summary>
 /// Sets a shader parameter value by name.
 /// </summary>
 /// <param name="param"></param>
 /// <param name="value"></param>
 public void SetShaderParam(ShaderColorParameter param, Color value)
 {
     SetShaderParam(param.GetEngineName(), value);
 }
Пример #4
0
 /// <summary>
 /// Sets a shader parameter value by name.
 /// </summary>
 /// <param name="param"></param>
 /// <param name="value"></param>
 public void SetShaderParam(ShaderColorParameter param, Color value)
 {
     SetShaderParam(param.GetEngineName(), value);
 }