Tatooine
Classes | Namespaces | Concepts | Typedefs | Enumerations | Functions | Variables
texture.h File Reference

Go to the source code of this file.

Classes

class  tatooine::gl::texture< NumDimensions, ValueType, Components >
 
struct  tatooine::gl::texture_format_qualifier_impl< float, R >
 
struct  tatooine::gl::texture_format_qualifier_impl< float, RG >
 
struct  tatooine::gl::texture_format_qualifier_impl< float, RGB >
 
struct  tatooine::gl::texture_format_qualifier_impl< float, RGBA >
 
struct  tatooine::gl::texture_format_qualifier_impl< std::uint8_t, RGBA >
 

Namespaces

namespace  tatooine
 
namespace  tatooine::gl
 

Concepts

concept  tatooine::gl::texture_value
 

Typedefs

template<texture_value ValueType, texture_component Components>
using tatooine::gl::tex1 = texture< 1, ValueType, Components >
 
template<texture_value ValueType, texture_component Components>
using tatooine::gl::tex2 = texture< 2, ValueType, Components >
 
template<texture_value ValueType, texture_component Components>
using tatooine::gl::tex3 = texture< 3, ValueType, Components >
 
template<texture_value ValueType>
using tatooine::gl::tex1r = tex1< ValueType, R >
 
template<texture_value ValueType>
using tatooine::gl::tex1rg = tex1< ValueType, RG >
 
template<texture_value ValueType>
using tatooine::gl::tex1rgb = tex1< ValueType, RGB >
 
template<texture_value ValueType>
using tatooine::gl::tex1rgba = tex1< ValueType, RGBA >
 
template<texture_value ValueType>
using tatooine::gl::tex1bgr = tex1< ValueType, BGR >
 
template<texture_value ValueType>
using tatooine::gl::tex1bgra = tex1< ValueType, BGRA >
 
template<texture_value ValueType>
using tatooine::gl::tex2r = tex2< ValueType, R >
 
template<texture_value ValueType>
using tatooine::gl::tex2rg = tex2< ValueType, RG >
 
template<texture_value ValueType>
using tatooine::gl::tex2rgb = tex2< ValueType, RGB >
 
template<texture_value ValueType>
using tatooine::gl::tex2rgba = tex2< ValueType, RGBA >
 
template<texture_value ValueType>
using tatooine::gl::tex2bgr = tex2< ValueType, BGR >
 
template<texture_value ValueType>
using tatooine::gl::tex2bgra = tex2< ValueType, BGRA >
 
template<texture_value ValueType>
using tatooine::gl::tex2depth = tex2< ValueType, Depth >
 
template<texture_value ValueType>
using tatooine::gl::tex3r = tex3< ValueType, R >
 
template<texture_value ValueType>
using tatooine::gl::tex3rg = tex3< ValueType, RG >
 
template<texture_value ValueType>
using tatooine::gl::tex3rgb = tex3< ValueType, RGB >
 
template<texture_value ValueType>
using tatooine::gl::tex3rgba = tex3< ValueType, RGBA >
 
template<texture_value ValueType>
using tatooine::gl::tex3bgr = tex3< ValueType, BGR >
 
template<texture_value ValueType>
using tatooine::gl::tex3bgra = tex3< ValueType, BGRA >
 
using tatooine::gl::tex1r8ui = tex1r< GLubyte >
 
using tatooine::gl::tex1r16ui = tex1r< GLushort >
 
using tatooine::gl::tex1r32ui = tex1r< GLuint >
 
using tatooine::gl::tex1r8i = tex1r< GLbyte >
 
using tatooine::gl::tex1r16i = tex1r< GLshort >
 
using tatooine::gl::tex1r32i = tex1r< GLint >
 
using tatooine::gl::tex1r16f = tex1r< GLhalf >
 
using tatooine::gl::tex1r32f = tex1r< GLfloat >
 
using tatooine::gl::tex1rg8ui = tex1rg< GLubyte >
 
using tatooine::gl::tex1rg16ui = tex1rg< GLushort >
 
using tatooine::gl::tex1rg32ui = tex1rg< GLuint >
 
using tatooine::gl::tex1rg8i = tex1rg< GLbyte >
 
using tatooine::gl::tex1rg16i = tex1rg< GLshort >
 
using tatooine::gl::tex1rg32i = tex1rg< GLint >
 
using tatooine::gl::tex1rg16f = tex1rg< GLhalf >
 
using tatooine::gl::tex1rg32f = tex1rg< GLfloat >
 
using tatooine::gl::tex1rgb8ui = tex1rgb< GLubyte >
 
using tatooine::gl::tex1rgb16ui = tex1rgb< GLushort >
 
using tatooine::gl::tex1rgb32ui = tex1rgb< GLuint >
 
using tatooine::gl::tex1rgb8i = tex1rgb< GLbyte >
 
using tatooine::gl::tex1rgb16i = tex1rgb< GLshort >
 
using tatooine::gl::tex1rgb32i = tex1rgb< GLint >
 
using tatooine::gl::tex1rgb16f = tex1rgb< GLhalf >
 
using tatooine::gl::tex1rgb32f = tex1rgb< GLfloat >
 
using tatooine::gl::tex1rgba8ui = tex1rgba< GLubyte >
 
using tatooine::gl::tex1rgba16ui = tex1rgba< GLushort >
 
using tatooine::gl::tex1rgba32ui = tex1rgba< GLuint >
 
using tatooine::gl::tex1rgba8i = tex1rgba< GLbyte >
 
using tatooine::gl::tex1rgba16i = tex1rgba< GLshort >
 
using tatooine::gl::tex1rgba32i = tex1rgba< GLint >
 
using tatooine::gl::tex1rgba16f = tex1rgba< GLhalf >
 
using tatooine::gl::tex1rgba32f = tex1rgba< GLfloat >
 
using tatooine::gl::tex2r8ui = tex2r< GLubyte >
 
using tatooine::gl::tex2r16ui = tex2r< GLushort >
 
using tatooine::gl::tex2r32ui = tex2r< GLuint >
 
using tatooine::gl::tex2r8i = tex2r< GLbyte >
 
using tatooine::gl::tex2r16i = tex2r< GLshort >
 
using tatooine::gl::tex2r32i = tex2r< GLint >
 
using tatooine::gl::tex2r16f = tex2r< GLhalf >
 
using tatooine::gl::tex2r32f = tex2r< GLfloat >
 
using tatooine::gl::tex2rg8ui = tex2rg< GLubyte >
 
using tatooine::gl::tex2rg16ui = tex2rg< GLushort >
 
using tatooine::gl::tex2rg32ui = tex2rg< GLuint >
 
using tatooine::gl::tex2rg8i = tex2rg< GLbyte >
 
using tatooine::gl::tex2rg16i = tex2rg< GLshort >
 
using tatooine::gl::tex2rg32i = tex2rg< GLint >
 
using tatooine::gl::tex2rg16f = tex2rg< GLhalf >
 
using tatooine::gl::tex2rg32f = tex2rg< GLfloat >
 
using tatooine::gl::tex2rgb8ui = tex2rgb< GLubyte >
 
using tatooine::gl::tex2rgb16ui = tex2rgb< GLushort >
 
using tatooine::gl::tex2rgb32ui = tex2rgb< GLuint >
 
using tatooine::gl::tex2rgb8i = tex2rgb< GLbyte >
 
using tatooine::gl::tex2rgb16i = tex2rgb< GLshort >
 
using tatooine::gl::tex2rgb32i = tex2rgb< GLint >
 
using tatooine::gl::tex2rgb16f = tex2rgb< GLhalf >
 
using tatooine::gl::tex2rgb32f = tex2rgb< GLfloat >
 
using tatooine::gl::tex2rgba8ui = tex2rgba< GLubyte >
 
using tatooine::gl::tex2rgba16ui = tex2rgba< GLushort >
 
using tatooine::gl::tex2rgba32ui = tex2rgba< GLuint >
 
using tatooine::gl::tex2rgba8i = tex2rgba< GLbyte >
 
using tatooine::gl::tex2rgba16i = tex2rgba< GLshort >
 
using tatooine::gl::tex2rgba32i = tex2rgba< GLint >
 
using tatooine::gl::tex2rgba16f = tex2rgba< GLhalf >
 
using tatooine::gl::tex2rgba32f = tex2rgba< GLfloat >
 
using tatooine::gl::texdepth16ui = tex2depth< GLushort >
 
using tatooine::gl::texdepth24ui = tex2depth< tex::depth24 >
 
using tatooine::gl::texdepth32ui = tex2depth< GLuint >
 
using tatooine::gl::texdepth32f = tex2depth< GLfloat >
 

Enumerations

enum class  tatooine::gl::wrap_mode : GLint { tatooine::gl::clamp_to_border = GL_CLAMP_TO_BORDER , tatooine::gl::clamp_to_edge = GL_CLAMP_TO_EDGE , tatooine::gl::repeat = GL_REPEAT , tatooine::gl::mirrored_repeat = GL_MIRRORED_REPEAT }
 
enum class  tatooine::gl::interpolation_mode : GLint {
  tatooine::gl::nearest = GL_NEAREST , tatooine::gl::linear = GL_LINEAR , tatooine::gl::nearest_mipmap_nearest = GL_NEAREST_MIPMAP_NEAREST , tatooine::gl::linear_mipmap_nearest = GL_LINEAR_MIPMAP_NEAREST ,
  tatooine::gl::nearest_mipmap_linear = GL_NEAREST_MIPMAP_LINEAR , tatooine::gl::linear_mipmap_linear = GL_LINEAR_MIPMAP_LINEAR
}
 
enum class  tatooine::gl::compare_func : GLint {
  tatooine::gl::never = GL_NEVER , tatooine::gl::less = GL_LESS , tatooine::gl::lequal = GL_LEQUAL , tatooine::gl::greater = GL_GREATER ,
  tatooine::gl::notequal = GL_NOTEQUAL , tatooine::gl::gequal = GL_GEQUAL , tatooine::gl::always = GL_ALWAYS
}
 
enum class  tatooine::gl::compare_mode : GLint { tatooine::gl::compare_r_to_texture = GL_COMPARE_R_TO_TEXTURE , tatooine::gl::none = GL_NONE }
 

Functions

template<either_of< R, RG, RGBA > Components>
auto tatooine::gl::to_2d (tex1< float, Components > const &t1, std::size_t const height, std::size_t const local_size_x=32, std::size_t const local_size_y=32)
 

Variables

template<texture_value ValueType, texture_component Components>
static auto constexpr tatooine::gl::texture_format_qualifier