public void Dispose() { vertexBufferArray.Bind(gl); gl.DeleteBuffers(1, new uint[] { vertexDataBuffer.VertexBufferObject }); vertexBufferArray.Unbind(gl); vertexBufferArray.Delete(gl); _openGLRenderingForm?.Dispose(); }
public void Release(OpenGL GL) { TextureManager.Instance.Release(GL, _textureName); arrowVAO.Delete(GL); }