Reference to a GLSL source code string. More...
#include <oglplus/glsl/string_ref.hpp>
Public Types | |
using | char_type = gl_types::char_type |
Alias for string character type. | |
using | int_type = gl_types::int_type |
Alias for signed intever type. | |
Public Member Functions | |
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. | |
Reference to a GLSL source code string.