Gamp v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
gamp::render::gl Namespace Reference

Namespaces

namespace  data
 
namespace  glsl
 

Classes

class  FBObject
 Core utility class simplifying usage of framebuffer objects (FBO) with all GLProfiles. More...
 
class  GLCapabilities
 Specifies a set of OpenGL capabilities. More...
 
class  GLContext
 OpenGL Rendering Context. More...
 
class  GLProfile
 Specifies the OpenGL profile. More...
 
class  GLVersionNumber
 A class for storing and comparing OpenGL version numbers. More...
 

Typedefs

typedef GLContext GL
 
typedef std::unique_ptr< GLCapabilitiesGLCapabilitiesPtr
 

Enumerations

enum class  GLProfileMask : uint32_t { GLProfileMask::none = 0 , GLProfileMask::compat = 1U << 0 , GLProfileMask::core = 1U << 1 , GLProfileMask::es = 1U << 2 }
 OpenGL profile-mask bits. More...
 

Functions

constexpr std::string_view getGLArrayName (GLenum array) noexcept
 
constexpr jau::util::VersionNumber getGLSLVersionNumber (const jau::util::VersionNumber &glVersion, GLProfileMask mask)
 
constexpr std::string_view getGLTypeName (GLenum type) noexcept
 
std::string getPredefinedArrayIndexName (GLenum glArrayIndex)
 
std::string getPredefinedArrayIndexName (GLenum glArrayIndex, GLint multiTexCoordIndex)
 
template<typename T, std::enable_if_t< std::is_same_v< float, T >, bool > = true>
constexpr GLenum glType () noexcept
 
GLenum glType (const jau::type_info &t) noexcept
 Runtime GL type retrieval using compile-time-type-info (CTTI) jau::type_info.
 
constexpr bool isValidShaderType (GLenum type) noexcept
 
 JAU_MAKE_BITFIELD_ENUM_STRING (GLProfileMask, compat, core, es)
 
constexpr std::string_view shaderTypeString (GLenum type) noexcept
 

Variables

static constexpr GLenum GL_NVIDIA_PLATFORM_BINARY_NV = 0x890B
 
static constexpr std::string_view mgl_Color = "mgl_Color"
 
static constexpr std::string_view mgl_InterleaveArray = "mgl_InterleaveArray"
 
static constexpr std::string_view mgl_MultiTexCoord = "mgl_MultiTexCoord"
 
static constexpr std::string_view mgl_Normal = "mgl_Normal"
 
static constexpr std::string_view mgl_Vertex = "mgl_Vertex"
 
static constexpr jau::util::VersionNumber Version0_0 = jau::util::VersionNumber(0, 0, 0)
 Version 0.00, i.e.
 
static constexpr jau::util::VersionNumber Version1_0 = jau::util::VersionNumber(1, 0, 0)
 Version 1.00, i.e.
 
static constexpr jau::util::VersionNumber Version1_1 = jau::util::VersionNumber(1, 1, 0)
 Version 1.1, i.e.
 
static constexpr jau::util::VersionNumber Version1_10 = jau::util::VersionNumber(1, 10, 0)
 Version 1.10, i.e.
 
static constexpr jau::util::VersionNumber Version1_2 = jau::util::VersionNumber(1, 2, 0)
 Version 1.2, i.e.
 
static constexpr jau::util::VersionNumber Version1_20 = jau::util::VersionNumber(1, 20, 0)
 Version 1.20, i.e.
 
static constexpr jau::util::VersionNumber Version1_30 = jau::util::VersionNumber(1, 30, 0)
 Version 1.30, i.e.
 
static constexpr jau::util::VersionNumber Version1_4 = jau::util::VersionNumber(1, 4, 0)
 Version 1.4, i.e.
 
static constexpr jau::util::VersionNumber Version1_40 = jau::util::VersionNumber(1, 40, 0)
 Version 1.40, i.e.
 
static constexpr jau::util::VersionNumber Version1_5 = jau::util::VersionNumber(1, 5, 0)
 Version 1.5, i.e.
 
static constexpr jau::util::VersionNumber Version1_50 = jau::util::VersionNumber(1, 50, 0)
 Version 1.50, i.e.
 
static constexpr jau::util::VersionNumber Version2_0 = jau::util::VersionNumber(2, 0, 0)
 Version 2.0.
 
static constexpr jau::util::VersionNumber Version3_0 = jau::util::VersionNumber(3, 0, 0)
 Version 3.0.
 
static constexpr jau::util::VersionNumber Version3_1 = jau::util::VersionNumber(3, 1, 0)
 Version 3.1.
 
static constexpr jau::util::VersionNumber Version3_2 = jau::util::VersionNumber(3, 2, 0)
 Version 3.2.
 
static constexpr jau::util::VersionNumber Version4_0 = jau::util::VersionNumber(4, 0, 0)
 Version 4.0.
 
static constexpr jau::util::VersionNumber Version4_3 = jau::util::VersionNumber(4, 3, 0)
 Version 4.3.