Definition texture.hpp:48
Texture1D(int width, GLuint internal_format, GLuint format, GLuint type, const void *pixels=nullptr)
Definition texture.hpp:10
const Texture & set_filer_mode(GLenum mode) const
void set_size(const Eigen::Vector2i &size)
Texture(const Eigen::Vector2i &size, GLuint internal_format, GLuint format, GLuint type, const void *pixels=nullptr)
void unbind(GLenum target) const
void bind(GLenum target) const
Texture & operator=(const Texture &temp_obj)=delete
std::vector< T > read_pixels(GLuint format=GL_RGBA, GLuint type=GL_UNSIGNED_BYTE, int num_elements=4) const
Eigen::Vector2i size() const
Texture(const Texture &temp_obj)=delete
const Texture & set_clamp_mode(GLenum mode) const
std::enable_if_t< needs_aligned_allocator< T >::value, std::shared_ptr< T > > make_shared(Args &&... args)
Definition make_shared.hpp:20