Expand description
Contains OpenGL helper functions (to compile / link shaders), VirtualGlDriver
for unit testing
Structs§
- Fragment
Shader Compile Error - GlShader
- GlShader
Link Error - Texture
- OpenGL texture, use
ReadOnlyWindow::create_texture
to create a texture - Texture
Flags - Uniform
- Vertex
Array Object - Vertex
Attribute - Vertex
Buffer - Vertex
Layout - Describes the vertex layout and offsets
- Vertex
Shader Compile Error - Virtual
GlDriver - Virtual OpenGL “driver”, that simply stores all the OpenGL calls and can replay them at a later stage.
Enums§
Traits§
Functions§
- get_
opengl_ texture - gl_
textures_ clear_ opengl_ cache - Destroys all textures, usually done before destroying the OpenGL context
- gl_
textures_ remove_ active_ pipeline - gl_
textures_ remove_ epochs_ from_ pipeline - Destroys all textures from the pipeline
pipeline_id
where the texture is older than the givenepoch
. - insert_
into_ active_ gl_ textures - Inserts a new texture into the OpenGL texture cache, returns a new image ID for the inserted texture