public static void PixelStore(PixelStoreParameter pixelStore, int parameter) { GL.PixelStore(PixelStoreParameter.UnpackAlignment, parameter); if (enableErrorCheck) { LogErrors(); } }
internal int GeneratePixelBufferObject(BufferTarget target, PixelStoreParameter alignment, BufferUsageHint bufferUsage, int totalSize) { int result; GL.GenBuffers(1, out result); GL.BindBuffer(target, result); if (RowPitch < 4) { GL.PixelStore(alignment, 1); } GL.BufferData(target, totalSize, IntPtr.Zero, bufferUsage); GL.BindBuffer(target, 0); return(result); }
public static void glPixelStorei(PixelStoreParameter pname, Int32 param) { i_OpenGL1_0.glPixelStorei(pname, param); }
public static void glPixelStoref(PixelStoreParameter pname, Single param) { i_OpenGL1_0.glPixelStoref(pname, param); }
internal static extern void glPixelStorei(PixelStoreParameter pname, Int32 param);
internal static extern void glPixelStoref(PixelStoreParameter pname, Single param);
public extern void PixelStorei(PixelStoreParameter pname, int param);
public void SetPixelStore(PixelStoreParameter pixelStore, int param) { BindTexture(); GL.PixelStore(PixelStoreParameter.UnpackRowLength, param); UnbindTexture(); }
public static void PixelStore(PixelStoreParameter pname, int param) { CheckCurrent(); _bindings.glPixelStorei((uint)pname, param); CheckError(); }
internal int GeneratePixelBufferObject(BufferTarget target, PixelStoreParameter alignment, BufferUsageHint bufferUsage, int totalSize) { int result; GL.GenBuffers(1, out result); GL.BindBuffer(target, result); if (RowPitch < 4) GL.PixelStore(alignment, 1); GL.BufferData(target, totalSize, IntPtr.Zero, bufferUsage); GL.BindBuffer(target, 0); return result; }
public static void glPixelStorei(PixelStoreParameter pname, int param) => p_glPixelStorei(pname, param);
public static void PixelStore(PixelStoreParameter pname, float param) { Debug.Assert(Delegates.pglPixelStoref != null, "pglPixelStoref not implemented"); Delegates.pglPixelStoref((Int32)pname, param); LogFunction("glPixelStoref({0}, {1})", pname, param); DebugCheckErrors(null); }
public static void PixelStore(PixelStoreParameter pname, Int32 param) { Debug.Assert(Delegates.pglPixelStorei != null, "pglPixelStorei not implemented"); Delegates.pglPixelStorei((Int32)pname, param); CallLog("glPixelStorei({0}, {1})", pname, param); DebugCheckErrors(); }
public static void PixelStorei(PixelStoreParameter pname, int param) { glPixelStorei deleg = BaseGraphicsContext.Current.Loader.Get<glPixelStorei>(); if (deleg != null) deleg(pname, param); }