Go to the documentation of this file. 1 #ifndef OGLPLUS_GLSL_CONTAINER_HPP
9 #define OGLPLUS_GLSL_CONTAINER_HPP
14 namespace eagine::oglp {
18 template <
typename Container>
27 , _str_ref(_storage.data(), _storage.size()) {}
48 #endif // OGLPLUS_GLSL_CONTAINER_HPP
Class referencing a set of GLSL source code strings.
Definition: source_ref.hpp:20
auto storage() noexcept -> Container &
Returns a reference to the storage container.
Definition: container.hpp:30
Reference to a GLSL source code string.
Definition: string_ref.hpp:18
glsl_container()=default
Default constructor.
Base class typically storing GLSL source code strings.
Definition: container.hpp:19
glsl_container(Container storage) noexcept
Construction from the storage container.
Definition: container.hpp:25