Uniform4fv() private method

private Uniform4fv ( Int32 location, Int32 count, System.Single v ) : void
location System.Int32
count System.Int32
v System.Single
return void
示例#1
0
 private unsafe void setVector4Array()
 {
     fixed(void *ptr = ((Vector4[])valueArrayObject.Target))
     {
         GL.Uniform4fv(location, valueArrayCount, (float *)ptr + (valueArrayOffset * 4));
     }
 }