nCine::RHI::GL namespace

OpenGL 3.3 core, OpenGL|ES 3.0/2.0 and WebGL 2.0 backend, selected by WITH_RHI_GL.

Classes

class GLAttribute
Stores information about an active vertex shader attribute.
class GLBlending
Manages the OpenGL blending state.
class GLBufferObject
Wraps an OpenGL buffer object.
class GLBufferObjectMappingFunc
Maps OpenGL buffer object targets to bucket indices.
class GLClearColor
Manages the OpenGL clear color.
class GLCullFace
Manages the OpenGL face culling state.
class GLDebug
Wrapper around OpenGL debug output and object labelling.
class GLDepthTest
Manages the OpenGL depth test state.
class GLDevice
Pipeline-state and draw-call facade of the OpenGL backend.
class GLFramebuffer
Wraps an OpenGL framebuffer object.
template<std::uint32_t S, class MappingFunc>
class GLHashMap
Naive fixed-size hashmap of OpenGL targets to object ids.
class GLRenderbuffer
Wraps an OpenGL renderbuffer object.
class GLRenderTarget
Off-screen render target of the OpenGL backend.
class GLScissorTest
Manages the OpenGL scissor test state.
class GLShader
Wraps an OpenGL shader object.
class GLShaderProgram
Wraps an OpenGL shader program object.
class GLShaderUniformBlocks
Manages the uniform block caches of a shader program.
class GLShaderUniforms
Manages the uniform caches of a shader program.
class GLTexture
Wraps an OpenGL texture object.
struct GLTextureFormat
Translates backend-neutral pixel formats into OpenGL formats.
class GLTextureMappingFunc
Maps OpenGL texture targets to bucket indices.
class GLUniform
Stores information about an active shader uniform.
class GLUniformBlock
Stores information about an active uniform block.
class GLUniformBlockCache
Caches the contents of a uniform block and uploads it through a buffer object.
class GLUniformCache
Caches the value of a single uniform and uploads it to the shader.
class GLVertexArrayObject
Wraps an OpenGL vertex array object.
class GLVertexFormat
Describes the format of a vertex.
class GLViewport
Manages the OpenGL viewport rectangle.

Typedefs

using key_t = GLenum
Key type, an OpenGL target enum.
using value_t = GLuint
Value type, an OpenGL object id.

Typedef documentation

using nCine::RHI::GL::key_t = GLenum

Key type, an OpenGL target enum.

using nCine::RHI::GL::value_t = GLuint

Value type, an OpenGL object id.