globjects
globjects copied to clipboard
C++ library strictly wrapping OpenGL objects.
Hello, please have look on the following piece of code `globjects::VertexArray::hintAttributeImplementation(globjects::VertexArray::AttributeImplementation::DirectStateAccessARB);` `auto pVertexBuffer = globjects::Buffer::create();` `pVertexBuffer->setStorage(vertices, gl::BufferStorageMask::GL_MAP_READ_BIT);` `auto pIndexBuffer = globjects::Buffer::create();` `pIndexBuffer->setStorage(indices, gl::BufferStorageMask::GL_MAP_READ_BIT);` ` //pVertexArray->bind();` `auto pBinding1 = pVertexArray->binding(0); `...
The CPU-managed state of GPU objects within globjects may diverge from the actual GPU objects, e.g., through direct use of OpenGL calls or errors during OpenGL processing. We could provide...
Hello, I'm new to globjects and glbindings and it's an awesome library. I have a question according to the examples and the general use of globjects with glfw. There has...
Following the recent introduction of `globjects` to Debian, packages have been built for various architectures. The status of the builds is summarized [here](https://buildd.debian.org/status/logs.php?pkg=globjects&ver=0.5.0-1). I am wondering why testing for GNU...
There are confusions about memory management in globjects. We should extend the README.md to reflect on the different use-cases and abstraction mechanisms globjects provides and relies on, namely: reference counting,...
Besides the interface to mark two (or more) contexts as shared, the registries needs to be split up to have both shared and unshared data. Typically shared data: - State...
this line here https://github.com/cginternals/globjects/blob/17dcc4c5129259781bdb9251294518f2a0c75472/source/globjects/source/IncludeProcessor.cpp#L24 was failing for me in debug mode when processing a line that had this comment inside it: ``` // ¯\_(ツ)_/¯ ``` this is also mentioned in...
Currently getting a **high severity** error reported while setting a uniform value for a sampler, I found this documentation on Khronos website: > **Notes** > glProgramUniform1i and glProgramUniform1iv are the...
I've been trying to use this library for a day or two now, and while I'm new to openGL, I'm struggling to use this library to even draw a simple...
The current code for legacy buffer implementation use a static target by default and all calls bind this static target before calling the GL function. So, it's not possible to...