public static void BindTransformFeedbackNV(BufferTargetARB target, UInt32 id) { Debug.Assert(Delegates.pglBindTransformFeedbackNV != null, "pglBindTransformFeedbackNV not implemented"); Delegates.pglBindTransformFeedbackNV((Int32)target, id); LogFunction("glBindTransformFeedbackNV({0}, {1})", target, id); DebugCheckErrors(null); }
public abstract unsafe void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void *data);
/// <summary> /// To be added. /// </summary> /// <param name="target"> /// To be added. /// </param> /// <param name="offset"> /// To be added. /// </param> /// <param name="size"> /// To be added. /// </param> /// <param name="data"> /// To be added. /// This parameter's element count is taken from size. /// </param> public unsafe void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] int offset, [Flow(FlowDirection.In)] uint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void *data) { // IntPtrOverloader GetBufferSubData(target, new IntPtr(offset), new UIntPtr(size), data); }
/// <summary> /// To be added. /// </summary> /// <param name="target"> /// To be added. /// </param> /// <param name="size"> /// To be added. /// </param> /// <param name="data"> /// To be added. /// This parameter's element count is taken from size. /// </param> /// <param name="usage"> /// To be added. /// </param> public unsafe void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void *data, [Flow(FlowDirection.In)] BufferUsageARB usage) { // IntPtrOverloader BufferData(target, new UIntPtr(size), data, usage); }
public abstract unsafe void *MapBuffer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferAccessARB access);
public static void FlushMappedBufferRange(BufferTargetARB target, IntPtr offset, UInt32 length) { Debug.Assert(Delegates.pglFlushMappedBufferRange != null, "pglFlushMappedBufferRange not implemented"); Delegates.pglFlushMappedBufferRange((Int32)target, offset, length); LogFunction("glFlushMappedBufferRange({0}, 0x{1}, {2})", target, offset.ToString("X8"), length); DebugCheckErrors(null); }
public static void GetBufferParameter(BufferTargetARB target, Int32 value, out Int32 data) { unsafe { fixed (Int32* p_params = &data) { Debug.Assert(Delegates.pglGetBufferParameteriv != null, "pglGetBufferParameteriv not implemented"); Delegates.pglGetBufferParameteriv((Int32)target, value, p_params); LogFunction("glGetBufferParameteriv({0}, {1}, {2})", target, LogEnumName(value), data); } } DebugCheckErrors(null); }
public static void GetBufferSubData(BufferTargetARB target, IntPtr offset, UInt32 size, IntPtr data) { Debug.Assert(Delegates.pglGetBufferSubData != null, "pglGetBufferSubData not implemented"); Delegates.pglGetBufferSubData((Int32)target, offset, size, data); LogFunction("glGetBufferSubData({0}, 0x{1}, {2}, 0x{3})", target, offset.ToString("X8"), size, data.ToString("X8")); DebugCheckErrors(null); }
/// <summary> /// To be added. /// </summary> /// <param name="target"> /// To be added. /// </param> /// <param name="offset"> /// To be added. /// </param> /// <param name="length"> /// To be added. /// </param> public unsafe void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] int offset, [Flow(FlowDirection.In)] uint length) { // IntPtrOverloader FlushMappedBufferRange(target, new IntPtr(offset), new UIntPtr(length)); }
public abstract unsafe void GetBufferParameter([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] NV pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] ulong * @params);
/// <summary> /// To be added. /// </summary> /// <param name="target"> /// To be added. /// </param> /// <param name="internalformat"> /// To be added. /// </param> /// <param name="offset"> /// To be added. /// </param> /// <param name="size"> /// To be added. /// </param> /// <param name="format"> /// To be added. /// </param> /// <param name="type"> /// To be added. /// </param> /// <param name="data"> /// To be added. /// This parameter's element count is computed from format and type. /// </param> public unsafe void ClearBufferSubData <T0>([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] int offset, [Flow(FlowDirection.In)] uint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ref T0 data) where T0 : unmanaged { // IntPtrOverloader ClearBufferSubData(target, internalformat, new IntPtr(offset), new UIntPtr(size), format, type, ref data); }
public abstract void ClearBufferSubData <T0>([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ref T0 data) where T0 : unmanaged;
public abstract unsafe void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void *data);
public unsafe partial void *MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access);
public abstract void GetBufferParameter([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferPNameARB pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out int @params);
/// <summary> /// To be added. /// </summary> /// <param name="target"> /// To be added. /// </param> /// <param name="offset"> /// To be added. /// </param> /// <param name="length"> /// To be added. /// </param> /// <param name="access"> /// To be added. /// </param> /// <returns>See summary.</returns> public unsafe void *MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] int offset, [Flow(FlowDirection.In)] uint length, [Flow(FlowDirection.In)] uint access) { // IntPtrOverloader return(MapBufferRange(target, new IntPtr(offset), new UIntPtr(length), access)); }
public static void BufferData(BufferTargetARB target, UInt32 size, IntPtr data, BufferUsageARB usage) { Debug.Assert(Delegates.pglBufferData != null, "pglBufferData not implemented"); Delegates.pglBufferData((Int32)target, size, data, (Int32)usage); LogFunction("glBufferData({0}, {1}, 0x{2}, {3})", target, size, data.ToString("X8"), usage); }
public abstract void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length);
public static IntPtr MapBuffer(BufferTargetARB target, BufferAccessARB access) { IntPtr retValue; Debug.Assert(Delegates.pglMapBuffer != null, "pglMapBuffer not implemented"); retValue = Delegates.pglMapBuffer((Int32)target, (Int32)access); LogFunction("glMapBuffer({0}, {1}) = {2}", target, access, retValue.ToString("X8")); DebugCheckErrors(retValue); return (retValue); }
public abstract unsafe void *MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access);
public static void GetBufferPointer(BufferTargetARB target, Int32 pname, Object @params) { GCHandle pin_params = GCHandle.Alloc(@params, GCHandleType.Pinned); try { GetBufferPointer(target, pname, pin_params.AddrOfPinnedObject()); } finally { pin_params.Free(); } }
public partial void BufferStorageMem([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset);
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 partial void BindBuffer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint buffer);
public abstract bool UnmapBuffer([Flow(FlowDirection.In)] BufferTargetARB target);
public unsafe partial void GetBufferPointer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void * @params);
/// <summary> /// To be added. /// </summary> /// <param name="target"> /// To be added. /// </param> /// <param name="size"> /// To be added. /// </param> /// <param name="data"> /// To be added. /// This parameter's element count is taken from size. /// </param> /// <param name="usage"> /// To be added. /// </param> public unsafe void BufferData <T0>([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] Span <T0> data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // IntPtrOverloader BufferData(target, new UIntPtr(size), data, usage); }
public unsafe partial void *MapBuffer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferAccessARB access);
/// <summary> /// To be added. /// </summary> /// <param name="target"> /// To be added. /// </param> /// <param name="offset"> /// To be added. /// </param> /// <param name="size"> /// To be added. /// </param> /// <param name="data"> /// To be added. /// This parameter's element count is taken from size. /// </param> public unsafe void GetBufferSubData <T0>([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] int offset, [Flow(FlowDirection.In)] uint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span <T0> data) where T0 : unmanaged { // IntPtrOverloader GetBufferSubData(target, new IntPtr(offset), new UIntPtr(size), data); }
public partial void GetBooleanIndexed([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Count(Computed = "target"), Flow(FlowDirection.Out)] out Boolean data);
public abstract void BufferSubData <T0>([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] Span <T0> data) where T0 : unmanaged;
/// <summary> /// Construct an ArrayBufferObjectBase. /// </summary> /// <param name="bufferTarget"> /// A <see cref="BufferTargetARB"/> that specify the buffer target. /// </param> /// <param name="hint"> /// An <see cref="BufferObjectHint"/> that specify the data buffer usage hints. /// </param> protected ArrayBufferObjectBase(BufferTargetARB bufferTarget, BufferObjectHint hint) : base(bufferTarget, hint) { }
public static void GetBufferParameter(BufferTargetARB target, Int32 pname, out Int32 @params) { unsafe { fixed (Int32* p_params = &@params) { Debug.Assert(Delegates.pglGetBufferParameteriv != null, "pglGetBufferParameteriv not implemented"); Delegates.pglGetBufferParameteriv((Int32)target, pname, p_params); CallLog("glGetBufferParameteriv({0}, {1}, {2})", target, pname, @params); } } DebugCheckErrors(); }
public static unsafe void ClearBufferSubData <T0>(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan <T0> data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); }
public static void BufferData(BufferTargetARB target, UInt32 size, Object data, BufferUsageARB usage) { GCHandle pin_data = GCHandle.Alloc(data, GCHandleType.Pinned); try { BufferData(target, size, pin_data.AddrOfPinnedObject(), usage); } finally { pin_data.Free(); } }
public partial void GetBufferParameter([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] NV pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out ulong @params);
public static void GetBufferSubData(BufferTargetARB target, IntPtr offset, UInt32 size, Object data) { GCHandle pin_data = GCHandle.Alloc(data, GCHandleType.Pinned); try { GetBufferSubData(target, offset, size, pin_data.AddrOfPinnedObject()); } finally { pin_data.Free(); } }
public abstract void BindBuffer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint buffer);
public static bool UnmapBuffer(BufferTargetARB target) { bool retValue; Debug.Assert(Delegates.pglUnmapBuffer != null, "pglUnmapBuffer not implemented"); retValue = Delegates.pglUnmapBuffer((Int32)target); LogFunction("glUnmapBuffer({0}) = {1}", target, retValue); DebugCheckErrors(retValue); return (retValue); }
public abstract unsafe void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void *data, [Flow(FlowDirection.In)] BufferUsageARB usage);
public static void GetBufferPointer(BufferTargetARB target, Int32 pname, out IntPtr @params) { unsafe { fixed (IntPtr* p_params = &@params) { Debug.Assert(Delegates.pglGetBufferPointerv != null, "pglGetBufferPointerv not implemented"); Delegates.pglGetBufferPointerv((Int32)target, pname, p_params); LogFunction("glGetBufferPointerv({0}, {1}, 0x{2})", target, LogEnumName(pname), @params.ToString("X8")); } } DebugCheckErrors(null); }
public abstract unsafe void GetBufferPointer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] void ** @params);
public static void BindBuffer(BufferTargetARB target, UInt32 buffer) { Debug.Assert(Delegates.pglBindBuffer != null, "pglBindBuffer not implemented"); Delegates.pglBindBuffer((Int32)target, buffer); LogFunction("glBindBuffer({0}, {1})", target, buffer); DebugCheckErrors(null); }
public static IntPtr MapBufferRange(BufferTargetARB target, IntPtr offset, UInt32 length, UInt32 access) { IntPtr retValue; Debug.Assert(Delegates.pglMapBufferRange != null, "pglMapBufferRange not implemented"); retValue = Delegates.pglMapBufferRange((Int32)target, offset, length, access); LogFunction("glMapBufferRange({0}, 0x{1}, {2}, {3}) = {4}", target, offset.ToString("X8"), length, access, retValue.ToString("X8")); DebugCheckErrors(retValue); return (retValue); }