예제 #1
0
 public void SetColor3(string name, Color3 val)
 {
     SetColor3(ref name, val);
 }
예제 #2
0
 public void SetColor3(int index, Color3 val)
 {
     GetUniform <UniformVec3>(index, UniformType.Vec3).Val = new Vector3(val.R / 255f, val.G / 255f, val.B / 255f);
 }
예제 #3
0
 public void SetColor3(ref string name, Color3 val)
 {
     GetUniform <UniformVec3>(ref name, UniformType.Vec3).Val = new Vector3(val.R / 255f, val.G / 255f, val.B / 255f);
 }