gl#
File: samarium/gl/gl.hpp
Core OpenGL wrappers
-
namespace sm#
-
namespace gl#
Enums
-
enum class BufferType#
Values:
-
enumerator Vertex#
-
enumerator Element#
-
enumerator Uniform#
-
enumerator ShaderStorage#
-
enumerator Vertex#
-
enum class Usage#
Values:
-
enumerator StaticDraw#
-
enumerator StaticRead#
-
enumerator StaticCopy#
-
enumerator StreamDraw#
-
enumerator StreamRead#
-
enumerator StreamCopy#
-
enumerator DynamicDraw#
-
enumerator DynamicRead#
-
enumerator DynamicCopy#
-
enumerator StaticDraw#
Functions
-
inline auto get_current(GLenum object)#
-
inline void message_callback(GLenum source, GLenum type, GLuint id, GLenum severity, [[maybe_unused]] GLsizei length, GLchar const *message, [[maybe_unused]] void const *user_param)#
-
inline auto enable_debug_output()#
-
struct FormatAndType#
Public Functions
-
inline explicit constexpr FormatAndType(ImageFormat image_format)#
-
inline explicit constexpr FormatAndType(ImageFormat image_format)#
-
enum class BufferType#
-
namespace gl#