OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::oglp::glsl_string_ref Class Reference

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.
 

Detailed Description

Reference to a GLSL source code string.


The documentation for this class was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).