|
| | texture () |
| |
| template<std::size_t... Is> |
| | texture (std::index_sequence< Is... >) |
| |
| | texture (texture const &other) |
| | TODO: copy wrap and interpolation modes. More...
|
| |
| | texture (texture &&other) |
| |
| auto & | operator= (texture const &other) |
| |
| auto & | operator= (texture &&other) |
| |
| | ~texture () |
| |
| | texture (integral auto const ... sizes) |
| |
template<convertible_to< value_type > OtherType>
requires (sizeof...(sizes) == NumDimensions) |
| | texture (OtherType const *const data, integral auto const ... sizes) |
| |
| | texture (ValueType const *const data, integral auto const ... sizes) |
| |
template<convertible_to< value_type > OtherType>
requires (sizeof...(sizes) == NumDimensions) && (num_components() == 1) |
| | texture (std::vector< OtherType > const &data, integral auto const ... sizes) |
| |
template<convertible_to< value_type > OtherType>
requires (sizeof...(sizes) == NumDimensions) && (num_components() > 1) |
| | texture (std::vector< vec< OtherType, num_components()> > const &data, integral auto const ... sizes) |
| |
template<convertible_to< value_type > OtherType>
requires (num_components() == 1) |
| | texture (dynamic_multidim_array< OtherType > const &data) |
| |
template<convertible_to< value_type > OtherType>
requires (num_components() > 1) |
| | texture (dynamic_multidim_array< vec< OtherType, num_components()> > const &data) |
| |
| template<std::size_t... Is> |
| | texture (interpolation_mode interp_mode, wrap_mode wrap_mode, std::index_sequence< Is... >) |
| |
| | texture (interpolation_mode interp_mode, wrap_mode wrap_mode) |
| |
template<integral... Sizes>
requires (sizeof...(Sizes) == NumDimensions) |
| | texture (interpolation_mode interp_mode, wrap_mode wrap_mode, Sizes const ... sizes) |
| |
template<convertible_to< value_type > OtherType, integral... Sizes>
requires (sizeof...(Sizes) == NumDimensions) |
| | texture (interpolation_mode interp_mode, wrap_mode wrap_mode, std::vector< OtherType > const &data, Sizes const ... sizes) |
| |
| auto | bind (GLuint unit=0) const |
| |
| void | bind_image_texture (GLuint unit) const |
| |
| void | bind_image_texture (GLuint unit) |
| |
| void | bind_image_texture_read_write (GLuint unit) |
| |
| void | bind_image_texture_write (GLuint unit) |
| |
| void | unbind_image_texture (GLuint unit) |
| |
| void | bind_image_texture_layer (GLuint unit, GLint layer) const |
| |
| void | bind_image_texture_layer (GLuint unit, GLint layer) |
| |
| template<std::size_t... Is> |
| auto | num_texels (std::index_sequence< Is... >) const -> GLsizei |
| |
| auto | num_texels () const -> GLsizei |
| |
| auto | copy_data (texture const &other) -> void |
| |
| template<integral Size> |
| auto | resize (std::array< Size, NumDimensions > const &size) -> void |
| |
template<integral... Sizes>
requires (sizeof...(Sizes) == NumDimensions) |
| auto | resize (Sizes const ... sizes) -> void |
| |
template<integral... Indices>
requires (sizeof...(Indices) == NumDimensions) |
| auto | operator() (Indices const ... indices) const |
| |
| auto | width () const |
| |
| auto | height () const |
| |
| auto | depth () const |
| |
| auto | set_wrap_mode (wrap_mode mode) -> void |
| | setting all wrapmodes to same mode More...
|
| |
| template<std::size_t... Is> |
| auto | set_wrap_mode (std::index_sequence< Is... >, same_as< wrap_mode > auto const ... modes) -> void requires(sizeof...(modes)==NumDimensions) |
| | setting all wrapmodes individual modes More...
|
| |
| auto | set_wrap_mode (same_as< wrap_mode > auto const ... modes) -> void |
| | setting all wrapmodes individual modes More...
|
| |
| auto | set_wrap_mode (std::size_t const i, wrap_mode const mode) -> void |
| | setting wrapmode with index i to modes More...
|
| |
| auto | set_repeat () -> void |
| | setting all wrapmodes to repeat More...
|
| |
| auto | set_wrap_mode_s (wrap_mode const mode) -> void |
| |
| auto | set_wrap_mode_t (wrap_mode const mode) -> void requires(NumDimensions > 1) |
| |
| auto | set_wrap_mode_r (wrap_mode const mode) -> void requires(NumDimensions > 2) |
| |
| auto | set_interpolation_mode (interpolation_mode const mode) -> void |
| |
| auto | set_interpolation_mode_min (interpolation_mode const mode) -> void |
| |
| auto | set_interpolation_mode_mag (interpolation_mode const mode) -> void |
| |
| auto | set_compare_func (compare_func const f) -> void |
| |
| auto | set_compare_mode (compare_mode const m) -> void |
| |
| auto | clear (arithmetic auto const ... comps) |
| |
| auto | clear (std::array< value_type, num_components()> const &col) |
| |
| auto | set_data (pixelunpackbuffer< value_type > const &pbo) |
| |
|
| auto | download_data () const |
| |
| auto | download_data (std::vector< value_type > &data) const -> void |
| |
| auto | download_data (std::vector< vec< value_type, num_components()> > &data) const -> void requires(num_components() > 1) |
| |
| auto | download_data (value_type *data) const -> void |
| |
| auto & | download_sub_data (GLint xoffset, GLsizei width, std::vector< ValueType > &data, GLint level=0) const |
| |
| auto & | download_sub_data (GLint xoffset, GLsizei width, std::vector< vec< ValueType, num_components()> > &data, GLint level=0) const |
| |
| auto | download_sub_data (GLint xoffset, GLsizei width, GLint level=0) const |
| |
| auto & | download_sub_data (GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, std::vector< ValueType > &data, GLint level=0) const |
| |
| auto & | download_sub_data (GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, std::vector< vec< ValueType, num_components()> > &data, GLint level=0) const |
| |
| auto | download_sub_data (GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLint level=0) const |
| |
| auto & | download_sub_data (GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, std::vector< ValueType > &data, GLint level=0) const |
| |
| auto & | download_sub_data (GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, std::vector< vec< ValueType, num_components()> > &data, GLint level=0) const |
| |
| auto | download_sub_data (GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLint level=0) const |
| |
| | 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) |
| |
|
| auto | create_id () |
| |
template<integral... Sizes>
requires (sizeof...(Sizes) == NumDimensions) |
| auto | upload_data (value_type const *const data, Sizes const ... sizes) |
| |
template<integral... Sizes>
requires (sizeof...(Sizes) == NumDimensions) && (num_components() > 1) |
| auto | upload_data (vec< value_type, num_components()> const *const data, Sizes const ... sizes) |
| |
| auto | upload_data (dynamic_multidim_array< value_type > const &data) |
| |
| auto | upload_data (dynamic_multidim_array< vec< value_type, num_components()> > const &data) |
| |
template<convertible_to< value_type > OtherType>
requires (num_components() == GLsizei(1)) |
| auto | upload_data (dynamic_multidim_array< OtherType > const &data) |
| |
template<convertible_to< value_type > OtherType>
requires (num_components() > 1) |
| auto | upload_data (dynamic_multidim_array< vec< OtherType, num_components()> > const &data) |
| |
template<integral... Sizes>
requires (num_components() == 1) && (sizeof...(Sizes) == NumDimensions) |
| auto | upload_data (std::vector< value_type > const &data, Sizes const ... sizes) |
| |
template<integral... Sizes>
requires (num_components() > 1) && (sizeof...(Sizes) == NumDimensions) |
| auto | upload_data (std::vector< vec< value_type, num_components()> > const &data, Sizes const ... sizes) |
| |
template<convertible_to< value_type > OtherType, integral... Sizes>
requires (num_components() == 1) && (sizeof...(Sizes) == NumDimensions) |
| auto | upload_data (std::vector< OtherType > const &data, Sizes const ... sizes) |
| |
template<convertible_to< value_type > OtherType, integral... Sizes>
requires (num_components() > 1) && (sizeof...(Sizes) == NumDimensions) |
| auto | upload_data (std::vector< vec< OtherType, num_components()> > const &data, Sizes const ... sizes) |
| |
| auto | upload_data (value_type const *const data) -> void |
| |
| auto | upload_data (vec< value_type, num_components()> const *data) -> void |
| |