Vladimír Vondruš
3b7cfa4117
python: bind framebuffer reading.
7 years ago
Vladimír Vondruš
2ac4ca3338
python: expose basic Framebuffer.
7 years ago
Vladimír Vondruš
b5e4253960
python: expose GL::RenderbufferFormat and GL::Renderbuffer.
7 years ago
Vladimír Vondruš
2d1022b739
python: rename a header for further additions.
7 years ago
Vladimír Vondruš
bfdfad1226
python: expose GL::Renderer::setClearColor().
...
Uh oh, something's weird there.
7 years ago
Vladimír Vondruš
59969c3f67
python: expose (Mutable)ImageView.
7 years ago
Vladimír Vondruš
d5379c10eb
python: expose buffer objects owned by gl.Mesh.
...
Makes testing much easier.
7 years ago
Vladimír Vondruš
d050145e51
python: put everything into a single module if magnum is built statically.
...
That makes it much easier to handle in that case (because that's the
whole point of static builds) and also nicely circumvents any issues
with duplicated global data when a static lib would be linked to
multiple dynamic libraries.
7 years ago
Vladimír Vondruš
21ee51fd96
python: do as little as possible in PYBIND11_MODULE.
7 years ago
Vladimír Vondruš
ecc616b48c
python: expose minimum of GL::Renderer.
7 years ago
Vladimír Vondruš
2b0dfaa22a
python: expose MeshTools::compile().
7 years ago
Vladimír Vondruš
8b1efde15f
python: add generic MeshPrimitive and MeshIndexType enums.
7 years ago
Vladimír Vondruš
34acdf6c6a
python: expose bits of GL::Mesh.
7 years ago
Vladimír Vondruš
7dadc27475
python: expose the GL::AbstractShaderProgram type.
...
The type needs to be known for Mesh::draw() and shaders later.
7 years ago
Vladimír Vondruš
03af644506
python: expose minimum of GL::DefaultFramebuffer.
...
Some non-trivial tricks had to be done in order to expose the
GL::defaultFramebuffer variable without causing leaks or double frees.
Also, the AbstractFramebuffer has a protected destructor so this needs
another special handling.
7 years ago
Vladimír Vondruš
c94598d6c1
python: expose initial GL::Buffer bits.
7 years ago
Vladimír Vondruš
aec29e7da8
python: initial bits of the GL library.
7 years ago