Exemplo n.º 1
0
        public static void Set <T0, T1>(T0 *to, T1 value, int length = 1) where T0 : unmanaged where T1 : unmanaged
        {
            T1 *ptr = (T1 *)to;

            while (--length > -1)
            {
                ptr[length] = value;
            }
        }
Exemplo n.º 2
0
 public abstract unsafe void MultiDrawElements <T0>([Flow(FlowDirection.In)] PrimitiveType mode, [Count(Computed = "primcount"), Flow(FlowDirection.In)] ref uint count, [Flow(FlowDirection.In)] DrawElementsType type, [Count(Computed = "primcount"), Flow(FlowDirection.In)] ref T0 *indices, [Flow(FlowDirection.In)] uint primcount) where T0 : unmanaged;
 public abstract unsafe void MultiDrawElementsBaseVertex <T0>([Flow(FlowDirection.In)] PrimitiveType mode, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] ref uint count, [Flow(FlowDirection.In)] DrawElementsType type, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] ref T0 *indices, [Flow(FlowDirection.In)] uint drawcount, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] ref int basevertex) where T0 : unmanaged;
Exemplo n.º 4
0
 public abstract unsafe void ReplacementCodePointer <T0>([Flow(FlowDirection.In)] ReplacementCodeTypeSUN type, [Flow(FlowDirection.In)] uint stride, [Count(Computed = "type, stride"), Flow(FlowDirection.In)] ref T0 *pointer) where T0 : unmanaged;
Exemplo n.º 5
0
 public abstract unsafe void GetTexParameterPointer<T0>([Flow(FlowDirection.In)] APPLE target, [Flow(FlowDirection.In)] APPLE pname, [Count(Count = 1), Flow(FlowDirection.Out)] out T0* @params) where T0 : unmanaged;
Exemplo n.º 6
0
 public abstract unsafe void GetPointer <T0>([Flow(FlowDirection.In)] GetPointervPName pname, [Count(Count = 1), Flow(FlowDirection.Out)] out T0 * @params) where T0 : unmanaged;
 public abstract unsafe void GetBufferPointer <T0>([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out T0 * @params) where T0 : unmanaged;
 public abstract unsafe void MultiModeDrawElements <T0>([Count(Computed = "primcount"), Flow(FlowDirection.In)] ref IBM mode, [Count(Computed = "primcount"), Flow(FlowDirection.In)] ref uint count, [Flow(FlowDirection.In)] IBM type, [Count(Computed = "primcount"), Flow(FlowDirection.In)] ref T0 *indices, [Flow(FlowDirection.In)] uint primcount, [Flow(FlowDirection.In)] int modestride) where T0 : unmanaged;
Exemplo n.º 9
0
 public abstract unsafe void VertexPointerList <T0>([Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexPointerType type, [Flow(FlowDirection.In)] int stride, [Count(Computed = "size, type, stride"), Flow(FlowDirection.In)] ref T0 *pointer, [Flow(FlowDirection.In)] int ptrstride) where T0 : unmanaged;
Exemplo n.º 10
0
 public abstract unsafe void FogCoordPointerList <T0>([Flow(FlowDirection.In)] FogPointerTypeIBM type, [Flow(FlowDirection.In)] int stride, [Count(Computed = "type, stride"), Flow(FlowDirection.In)] ref T0 *pointer, [Flow(FlowDirection.In)] int ptrstride) where T0 : unmanaged;
Exemplo n.º 11
0
 public abstract unsafe void SecondaryColorPointerList <T0>([Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] IBM type, [Flow(FlowDirection.In)] int stride, [Count(Computed = "size, type, stride"), Flow(FlowDirection.In)] ref T0 *pointer, [Flow(FlowDirection.In)] int ptrstride) where T0 : unmanaged;
Exemplo n.º 12
0
 public abstract unsafe void GetVertexAttribPointer <T0>([Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] ARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out T0 *pointer) where T0 : unmanaged;
Exemplo n.º 13
0
 public abstract unsafe void GetVariantPointer <T0>([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] GetVariantValueEXT value, [Count(Computed = "id"), Flow(FlowDirection.Out)] out T0 *data) where T0 : unmanaged;