Wrapper class for a GLSL string literal, convertible to glsl_source_ref. More...
#include <oglplus/glsl/string_ref.hpp>
Public Member Functions | |
template<span_size_t N> | |
glsl_literal (const char(&src_str)[N]) noexcept | |
Construction from a zero-terminated string literal. | |
![]() | |
glsl_string_ref (const char *src_str, span_size_t n) noexcept | |
Construction from a C-string and a length value. | |
glsl_string_ref (string_view str) noexcept | |
Explicit construction from a string_view. | |
glsl_string_ref (memory::const_block blk) noexcept | |
Explicit construction from a memory const_block. | |
operator glsl_source_ref () const noexcept | |
Conversion to glsl_source_ref. | |
Additional Inherited Members | |
![]() | |
using | char_type = gl_types::char_type |
Alias for string character type. | |
using | int_type = gl_types::int_type |
Alias for signed intever type. | |
Wrapper class for a GLSL string literal, convertible to glsl_source_ref.