Example #1
0
        public static void Unbind(bool pixelUnpackBuffer = true)
        {
            ContextManager.ActivateDefaultIfNoCurrent();

            GL.BindBuffer((pixelUnpackBuffer ? BufferTarget.PixelUnpackBuffer : BufferTarget.PixelPackBuffer), 0);
        }
Example #2
0
        public void Bind()
        {
            ContextManager.ActivateDefaultIfNoCurrent();

            GL.BindBuffer(m_bufferTarget, m_GLPBOID);
        }