Class referencing a set of GLSL source code strings. More...
#include <oglplus/glsl/source_ref.hpp>
Public Types | |
using | char_type = gl_types::char_type |
Alias for character string type. | |
using | int_type = gl_types::int_type |
Alias for integer type. | |
using | sizei_type = gl_types::sizei_type |
Alias for integer type storing size values. | |
Public Member Functions | |
constexpr | glsl_source_ref (const char_type *part, int_type length) noexcept |
Construction from a single C-string and length value. | |
constexpr | glsl_source_ref (string_view source_str) noexcept |
Construction from a string_view. | |
glsl_source_ref (span_size_t n, const char_type **ps, const int_type *ls) noexcept | |
Construction from C-string array and lengths array. | |
constexpr auto | count () const noexcept -> sizei_type |
Returns the number of source string fragments. More... | |
constexpr auto | parts () const noexcept -> const char_type ** |
Returns pointers to the source string fragments. More... | |
auto | lengths () const noexcept -> const int_type * |
Returns the lengths of the source string fragments. More... | |
Class referencing a set of GLSL source code strings.
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |