Exemplo n.º 1
0
        public static void Unbind(bool pixelUnpackBuffer = true)
        {
            ContextManager.ActivateDefaultIfNoCurrent();

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

            GL.BindBuffer(m_bufferTarget, m_GLPBOID);
        }