StapleGL
Header-only C++20 OpenGL wrapper
|
This is the complete list of members for staplegl::shader_program, including all inherited members.
bind() const | staplegl::shader_program | inline |
compile(shader_type shader_type, std::string_view source) const -> std::uint32_t | staplegl::shader_program | inlineprivate |
create_program() const -> std::uint32_t | staplegl::shader_program | inlineprivate |
is_valid(std::uint32_t id) -> bool | staplegl::shader_program | inlinestatic |
m_id | staplegl::shader_program | private |
m_name | staplegl::shader_program | private |
m_shaders | staplegl::shader_program | private |
m_uniform_cache | staplegl::shader_program | private |
name() const -> std::string | staplegl::shader_program | inline |
operator=(const shader_program &) -> shader_program &=default | staplegl::shader_program | |
operator=(shader_program &&other) noexcept -> shader_program & | staplegl::shader_program | inline |
operator[](std::size_t index) -> shader & | staplegl::shader_program | inline |
operator[](std::size_t index) const -> const shader & | staplegl::shader_program | inline |
parse_shaders(std::string_view source) const -> std::vector< shader > | staplegl::shader_program | inlineprivate |
program_id() const -> std::uint32_t | staplegl::shader_program | inline |
shader_program()=default | staplegl::shader_program | |
shader_program(std::string_view name, std::string_view path) noexcept | staplegl::shader_program | inline |
shader_program(std::string_view name, std::initializer_list< std::pair< shader_type, std::string_view > > shaders) noexcept | staplegl::shader_program | inline |
shader_program(std::string_view path) noexcept | staplegl::shader_program | inline |
shader_program(const shader_program &)=default | staplegl::shader_program | |
shader_program(shader_program &&other) noexcept | staplegl::shader_program | inline |
string_to_shader_type(std::string_view str) -> std::optional< shader_type > | staplegl::shader_program | inlineprivatestatic |
to_gl_type(shader_type shader_type) -> std::uint32_t | staplegl::shader_program | inlineprivatestatic |
unbind() const | staplegl::shader_program | inline |
uniform_location(std::string_view name) -> int | staplegl::shader_program | inlineprivate |
upload_uniform1f(std::string_view name, float val) | staplegl::shader_program | inline |
upload_uniform1i(std::string_view name, int val) | staplegl::shader_program | inline |
upload_uniform2f(std::string_view name, float val0, float val1) | staplegl::shader_program | inline |
upload_uniform3f(std::string_view name, float val0, float val1, float val2) | staplegl::shader_program | inline |
upload_uniform4f(std::string_view name, float val0, float val1, float val2, float val3) | staplegl::shader_program | inline |
upload_uniform_mat3f(std::string_view name, float const *mat) | staplegl::shader_program | inline |
upload_uniform_mat4f(std::string_view name, float const *mat) | staplegl::shader_program | inline |
~shader_program() | staplegl::shader_program | inline |