template<class AllocationPolicy>
texture_atlas_slot_t class
helper class representing a binding of a texture_
This class is a RAII wrapper for the binding of all related textures of a texture_
Public types
- using const_iterator_t = typename storage_t::const_iterator
- const iterator type
- using storage_t = typename AllocationPolicy::slot_storage_t
- storage type for individal texture slots of assiciated textures
Constructors, destructors, conversion operators
-
texture_atlas_slot_t(texture_
atlas_ slot_ t&& mov) defaulted - move constructor
-
texture_atlas_slot_t(const texture_
atlas_ slot_ t& cpy) deleted - copy constructor
Public functions
-
auto begin() const -> const_
iterator_ t - returns iterator to first texture slot of the range of owned texture slots
-
auto end() const -> const_
iterator_ t - returns iterator to the texture slot following the last texture slot of the range of owned texture slots
-
auto operator=(texture_
atlas_ slot_ t&& mov) -> texture_ atlas_ slot_ t& defaulted - move assignment operator
-
auto operator=(const texture_
atlas_ slot_ t& cpy) -> texture_ atlas_ slot_ t& deleted - copy assignment operator
Function documentation
template<class AllocationPolicy>
glpp:: core:: object:: texture_atlas_slot_t<AllocationPolicy>:: texture_atlas_slot_t(texture_ atlas_ slot_ t&& mov) defaulted
move constructor
texture_
template<class AllocationPolicy>
glpp:: core:: object:: texture_atlas_slot_t<AllocationPolicy>:: texture_atlas_slot_t(const texture_ atlas_ slot_ t& cpy) deleted
copy constructor
texture_
template<class AllocationPolicy>
const_ iterator_ t glpp:: core:: object:: texture_atlas_slot_t<AllocationPolicy>:: begin() const
returns iterator to first texture slot of the range of owned texture slots
returns iterator to first texture slot of the range of owned texture slots
template<class AllocationPolicy>
const_ iterator_ t glpp:: core:: object:: texture_atlas_slot_t<AllocationPolicy>:: end() const
returns iterator to the texture slot following the last texture slot of the range of owned texture slots
returns iterator to the texture slot following the last texture slot of the range of owned texture slots
template<class AllocationPolicy>
texture_ atlas_ slot_ t& glpp:: core:: object:: texture_atlas_slot_t<AllocationPolicy>:: operator=(texture_ atlas_ slot_ t&& mov) defaulted
move assignment operator
texture_
template<class AllocationPolicy>
texture_ atlas_ slot_ t& glpp:: core:: object:: texture_atlas_slot_t<AllocationPolicy>:: operator=(const texture_ atlas_ slot_ t& cpy) deleted
copy assignment operator
texture_