StapleGL
Header-only C++20 OpenGL wrapper
Loading...
Searching...
No Matches
staplegl::shader_program Member List

This is the complete list of members for staplegl::shader_program, including all inherited members.

bind() conststaplegl::shader_programinline
compile(shader_type shader_type, std::string_view source) const -> std::uint32_tstaplegl::shader_programinlineprivate
create_program() const -> std::uint32_tstaplegl::shader_programinlineprivate
is_valid(std::uint32_t id) -> boolstaplegl::shader_programinlinestatic
m_idstaplegl::shader_programprivate
m_namestaplegl::shader_programprivate
m_shadersstaplegl::shader_programprivate
m_uniform_cachestaplegl::shader_programprivate
name() const -> std::stringstaplegl::shader_programinline
operator=(const shader_program &) -> shader_program &=defaultstaplegl::shader_program
operator=(shader_program &&other) noexcept -> shader_program &staplegl::shader_programinline
operator[](std::size_t index) -> shader &staplegl::shader_programinline
operator[](std::size_t index) const -> const shader &staplegl::shader_programinline
parse_shaders(std::string_view source) const -> std::vector< shader >staplegl::shader_programinlineprivate
program_id() const -> std::uint32_tstaplegl::shader_programinline
shader_program()=defaultstaplegl::shader_program
shader_program(std::string_view name, std::string_view path) noexceptstaplegl::shader_programinline
shader_program(std::string_view name, std::initializer_list< std::pair< shader_type, std::string_view > > shaders) noexceptstaplegl::shader_programinline
shader_program(std::string_view path) noexceptstaplegl::shader_programinline
shader_program(const shader_program &)=defaultstaplegl::shader_program
shader_program(shader_program &&other) noexceptstaplegl::shader_programinline
string_to_shader_type(std::string_view str) -> std::optional< shader_type >staplegl::shader_programinlineprivatestatic
to_gl_type(shader_type shader_type) -> std::uint32_tstaplegl::shader_programinlineprivatestatic
unbind() conststaplegl::shader_programinline
uniform_location(std::string_view name) -> intstaplegl::shader_programinlineprivate
upload_uniform1f(std::string_view name, float val)staplegl::shader_programinline
upload_uniform1i(std::string_view name, int val)staplegl::shader_programinline
upload_uniform2f(std::string_view name, float val0, float val1)staplegl::shader_programinline
upload_uniform3f(std::string_view name, float val0, float val1, float val2)staplegl::shader_programinline
upload_uniform4f(std::string_view name, float val0, float val1, float val2, float val3)staplegl::shader_programinline
upload_uniform_mat3f(std::string_view name, float const *mat)staplegl::shader_programinline
upload_uniform_mat4f(std::string_view name, float const *mat)staplegl::shader_programinline
~shader_program()staplegl::shader_programinline