Tatooine
Public Member Functions | List of all members
tatooine::gl::computeshader Class Reference

#include <computeshader.h>

Inheritance diagram for tatooine::gl::computeshader:
[legend]
Collaboration diagram for tatooine::gl::computeshader:
[legend]

Public Member Functions

 computeshader (std::filesystem::path const &sourcepath)
 
 computeshader (shadersource const &sourcepath)
 
 computeshader (computeshader &&other)
 
- Public Member Functions inherited from tatooine::gl::shaderstage
DLL_API shaderstage (GLenum shader_type, shadersource const &shaderfilepath)
 
DLL_API shaderstage (GLenum shader_type, std::filesystem::path const &shaderfilepath)
 
DLL_API shaderstage (shaderstage &&other)
 
DLL_API ~shaderstage ()
 
DLL_API auto compile (bool use_ansi_color=true) -> void
 
DLL_API auto delete_stage () -> void
 
auto glsl_vars () const -> auto const &
 
auto stage_name () const
 
auto stage_type () const
 
auto is_created () const
 
- Public Member Functions inherited from tatooine::gl::id_holder< GLuint >
 id_holder ()
 
 id_holder (GLuint _id)
 
 id_holder (id_holder const &other)=delete
 
 id_holder (id_holder &&other) noexcept
 
auto operator= (id_holder const &other) -> id_holder &=delete
 
auto operator= (id_holder &&other) noexcept -> id_holder &
 
 ~id_holder ()=default
 
auto id () const
 
void swap (id_holder &other)
 

Additional Inherited Members

- Static Public Member Functions inherited from tatooine::gl::shaderstage
static DLL_API auto type_to_string (GLenum shader_type) -> std::string_view
 
- Static Public Attributes inherited from tatooine::gl::id_holder< GLuint >
static constexpr auto default_val
 
- Protected Member Functions inherited from tatooine::gl::shaderstage
DLL_API auto info_log (bool use_ansi_color=true) -> void
 
DLL_API auto parse_compile_error (std::smatch &match, std::ostream &os, bool use_ansi_color=true) -> void
 
DLL_API auto print_line (std::filesystem::path const &filename, size_t line_number, std::ostream &os) -> void
 
- Protected Member Functions inherited from tatooine::gl::id_holder< GLuint >
void set_id (GLuint id)
 
auto id_ptr ()
 
auto id_ref () -> auto &
 

Constructor & Destructor Documentation

◆ computeshader() [1/3]

tatooine::gl::computeshader::computeshader ( std::filesystem::path const &  sourcepath)

◆ computeshader() [2/3]

◆ computeshader() [3/3]


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