Ejemplo n.º 1
0
        public static void PixelStore(PixelStoreParameter pixelStore, int parameter)
        {
            GL.PixelStore(PixelStoreParameter.UnpackAlignment, parameter);

            if (enableErrorCheck)
            {
                LogErrors();
            }
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 public static void glPixelStorei(PixelStoreParameter pname, Int32 param)
 {
     i_OpenGL1_0.glPixelStorei(pname, param);
 }
Ejemplo n.º 4
0
 public static void glPixelStoref(PixelStoreParameter pname, Single param)
 {
     i_OpenGL1_0.glPixelStoref(pname, param);
 }
Ejemplo n.º 5
0
 internal static extern void glPixelStorei(PixelStoreParameter pname, Int32 param);
Ejemplo n.º 6
0
 internal static extern void glPixelStoref(PixelStoreParameter pname, Single param);
Ejemplo n.º 7
0
		internal static extern void glPixelStorei(PixelStoreParameter pname, Int32 param);
Ejemplo n.º 8
0
 public extern void PixelStorei(PixelStoreParameter pname, int param);
Ejemplo n.º 9
0
 public void SetPixelStore(PixelStoreParameter pixelStore, int param)
 {
     BindTexture();
     GL.PixelStore(PixelStoreParameter.UnpackRowLength, param);
     UnbindTexture();
 }
 public extern void PixelStorei(PixelStoreParameter pname, int param);
Ejemplo n.º 11
0
 public static void PixelStore(PixelStoreParameter pname, int param)
 {
     CheckCurrent();
     _bindings.glPixelStorei((uint)pname, param);
     CheckError();
 }
Ejemplo n.º 12
0
        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;
        }
Ejemplo n.º 13
0
 public static void glPixelStorei(PixelStoreParameter pname, int param) => p_glPixelStorei(pname, param);
Ejemplo n.º 14
0
		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);
		}
Ejemplo n.º 15
0
		internal static extern void glPixelStoref(PixelStoreParameter pname, Single param);
Ejemplo n.º 16
0
		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();
		}
Ejemplo n.º 17
0
		public static void PixelStorei(PixelStoreParameter pname, int param)
		{
			glPixelStorei deleg = BaseGraphicsContext.Current.Loader.Get<glPixelStorei>();
			if (deleg != null)
				deleg(pname, param);
		}