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

eagine::oglp::glsl_literal Class Reference

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.
 
- Public Member Functions inherited from eagine::oglp::glsl_string_ref
 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

- Public Types inherited from eagine::oglp::glsl_string_ref
using char_type = gl_types::char_type
 Alias for string character type.
 
using int_type = gl_types::int_type
 Alias for signed intever type.
 

Detailed Description

Wrapper class for a GLSL string literal, convertible to glsl_source_ref.

See also
glsl_source_ref

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).