nCine/Graphics/RHI/GL/GLHashMap.h file

Namespaces

namespace nCine
Root namespace of nCine game engine.
namespace nCine::RHI
Render Hardware Interface — compile-time-selectable graphics backend abstraction.
namespace nCine::RHI::GL
OpenGL 3.3 core, OpenGL|ES 3.0/2.0 and WebGL 2.0 backend, selected by WITH_RHI_GL.

Classes

template<std::uint32_t S, class MappingFunc>
class nCine::RHI::GL::GLHashMap
Naive fixed-size hashmap of OpenGL targets to object ids.
class nCine::RHI::GL::GLBufferObjectMappingFunc
Maps OpenGL buffer object targets to bucket indices.
class nCine::RHI::GL::GLTextureMappingFunc
Maps OpenGL texture targets to bucket indices.

Typedefs

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