public static void GetColorTableSGI(ColorTableTargetSGI target, PixelFormat format, PixelType type, IntPtr table) { Debug.Assert(Delegates.pglGetColorTableSGI != null, "pglGetColorTableSGI not implemented"); Delegates.pglGetColorTableSGI((Int32)target, (Int32)format, (Int32)type, table); CallLog("glGetColorTableSGI({0}, {1}, {2}, 0x{3})", target, format, type, table.ToString("X8")); DebugCheckErrors(); }
public static void GetColorTableSGI(ColorTableTargetSGI target, PixelFormat format, PixelType type, IntPtr table) { Debug.Assert(Delegates.pglGetColorTableSGI != null, "pglGetColorTableSGI not implemented"); Delegates.pglGetColorTableSGI((Int32)target, (Int32)format, (Int32)type, table); LogFunction("glGetColorTableSGI({0}, {1}, {2}, 0x{3})", target, format, type, table.ToString("X8")); DebugCheckErrors(null); }
public static void GetColorTableSGI(ColorTableTargetSGI target, PixelFormat format, PixelType type, Object table) { GCHandle pin_table = GCHandle.Alloc(table, GCHandleType.Pinned); try { GetColorTableSGI(target, format, type, pin_table.AddrOfPinnedObject()); } finally { pin_table.Free(); } }
public static void GetColorTableSGI(ColorTableTargetSGI target, PixelFormat format, PixelType type, Object table) { GCHandle pin_table = GCHandle.Alloc(table, GCHandleType.Pinned); try { GetColorTableSGI(target, format, type, pin_table.AddrOfPinnedObject()); } finally { pin_table.Free(); } }
public static void GetColorTableParameterSGI(ColorTableTargetSGI target, GetColorTableParameterPNameSGI pname, [Out] float[] @params) { unsafe { fixed(float *p_params = @params) { Debug.Assert(Delegates.pglGetColorTableParameterfvSGI != null, "pglGetColorTableParameterfvSGI not implemented"); Delegates.pglGetColorTableParameterfvSGI((Int32)target, (Int32)pname, p_params); LogFunction("glGetColorTableParameterfvSGI({0}, {1}, {2})", target, pname, LogValue(@params)); } } DebugCheckErrors(null); }
public abstract void GetColorTableParameter([Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] GetColorTableParameterPNameSGI pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out int @params);
public abstract void GetColorTable <T0>([Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] out T0 table) where T0 : unmanaged;
public abstract unsafe void GetColorTable([Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] void *table);
public static unsafe void ColorTableParameter(this SgiColorTable thisApi, [Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] ColorTableParameterPNameSGI pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ReadOnlySpan <float> @params) { // SpanOverloader thisApi.ColorTableParameter(target, pname, in @params.GetPinnableReference()); }
public static void GetColorTableParameterivSGI( ColorTableTargetSGI target, GetColorTableParameterPNameSGI pname, [Out]int[] @params ) { if (_GetColorTableParameterivSGI == null) throw new Exception( "Extension method GetColorTableParameterivSGI not found" ); _GetColorTableParameterivSGI( target, pname, @params ); }
public static unsafe void ColorTableSGI( ColorTableTargetSGI target, PixelInternalFormat internalformat, int width, PixelFormat format, PixelType type, void* table ) { if (_ColorTableSGI == null) throw new Exception( "Extension method ColorTableSGI not found" ); _ColorTableSGI( target, internalformat, width, format, type, table ); }
public static void GetColorTableParameterSGI(ColorTableTargetSGI target, GetColorTableParameterPNameSGI pname, [Out] float[] @params) { unsafe { fixed (float* p_params = @params) { Debug.Assert(Delegates.pglGetColorTableParameterfvSGI != null, "pglGetColorTableParameterfvSGI not implemented"); Delegates.pglGetColorTableParameterfvSGI((Int32)target, (Int32)pname, p_params); CallLog("glGetColorTableParameterfvSGI({0}, {1}, {2})", target, pname, @params); } } DebugCheckErrors(); }
public static unsafe void ColorTable <T0>(this SgiColorTable thisApi, [Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] SGI format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type, width"), Flow(FlowDirection.In)] ReadOnlySpan <T0> table) where T0 : unmanaged { // SpanOverloader thisApi.ColorTable(target, internalformat, width, format, type, in table.GetPinnableReference()); }
public static unsafe void GetColorTableParameter(this SgiColorTable thisApi, [Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] GetColorTableParameterPNameSGI pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params) { // SpanOverloader thisApi.GetColorTableParameter(target, pname, out @params.GetPinnableReference()); }
public static unsafe void GetColorTable <T0>(this SgiColorTable thisApi, [Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] Span <T0> table) where T0 : unmanaged { // SpanOverloader thisApi.GetColorTable(target, format, type, out table.GetPinnableReference()); }
public abstract unsafe void ColorTable([Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type, width"), Flow(FlowDirection.In)] void *table);
public abstract void ColorTable <T0>([Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type, width"), Flow(FlowDirection.In)] ref T0 table) where T0 : unmanaged;
public static void ColorTableParameterfvSGI( ColorTableTargetSGI target, ColorTableParameterPNameSGI pname, float[] @params ) { if (_ColorTableParameterfvSGI == null) throw new Exception( "Extension method ColorTableParameterfvSGI not found" ); _ColorTableParameterfvSGI( target, pname, @params ); }
public abstract void ColorTableParameter([Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] SGI pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ref int @params);
public static void CopyColorTableSGI( ColorTableTargetSGI target, PixelInternalFormat internalformat, int x, int y, int width ) { if (_CopyColorTableSGI == null) throw new Exception( "Extension method CopyColorTableSGI not found" ); _CopyColorTableSGI( target, internalformat, x, y, width ); }
public abstract void CopyColorTable([Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] int x, [Flow(FlowDirection.In)] int y, [Flow(FlowDirection.In)] uint width);
public static unsafe void GetColorTableSGI( ColorTableTargetSGI target, PixelFormat format, PixelType type, [Out]void* table ) { if (_GetColorTableSGI == null) throw new Exception( "Extension method GetColorTableSGI not found" ); _GetColorTableSGI( target, format, type, table ); }
public static void GetColorTableParameterSGI(ColorTableTargetSGI target, GetColorTableParameterPNameSGI pname, [Out] Int32[] @params) { unsafe { fixed (Int32* p_params = @params) { Debug.Assert(Delegates.pglGetColorTableParameterivSGI != null, "pglGetColorTableParameterivSGI not implemented"); Delegates.pglGetColorTableParameterivSGI((Int32)target, (Int32)pname, p_params); LogFunction("glGetColorTableParameterivSGI({0}, {1}, {2})", target, pname, LogValue(@params)); } } DebugCheckErrors(null); }