MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::gfx Namespace Reference

Classes

class  Backend
 
class  BackendScope
 
class  RenderableResource
 
class  Renderable
 
class  RendererBackend
 
struct  RenderingStats
 
class  Shader
 A shader is used as the base class for all programs across any supported backend API. Shaders are registered with a gfx::ShaderRegistry instance. More...
 
class  ShaderRegistry
 A ShaderRegistry contains a collection of gfx::Shader instances. Using the registry, shaders may be dynamically registered or replaced at runtime. More...
 

Enumerations

enum class  ContextMode : bool { Unique , Shared }
 

Functions

MBGL_CONSTEXPR bool operator== (const RendererBackend &a, const RendererBackend &b)
 

Variables

template<typename T >
constexpr bool is_shader_v
 

Enumeration Type Documentation

◆ ContextMode

enum mbgl::gfx::ContextMode : bool
strong
Enumerator
Unique 
Shared 

Definition at line 16 of file renderer_backend.hpp.

Function Documentation

◆ operator==()

MBGL_CONSTEXPR bool mbgl::gfx::operator== ( const RendererBackend a,
const RendererBackend b 
)

Definition at line 67 of file renderer_backend.hpp.

Variable Documentation

◆ is_shader_v

template<typename T >
constexpr bool mbgl::gfx::is_shader_v
inlineconstexpr
Initial value:
=
std::is_base_of_v<gfx::Shader, T> &&
std::is_same_v<
std::remove_cv_t<decltype(T::Name)>,
std::string_view> &&
std::is_final_v<T>

Definition at line 17 of file shader.hpp.