Visual Computing Library
Loading...
Searching...
No Matches
vcl::comp::HasTextureImages Concept Reference

HasTextureImages concept is satisfied only if a Mesh class provides the member functions specified in this concept. These member functions allows to access to a vcl::comp::TextureImages component of a given mesh. More...

#include <vclib/concepts/mesh/components/texture_images.h>

Concept definition

template<typename T>
requires (T&& obj, typename RemoveRef<T>::TextureType t) {
typename RemoveRef<T>::TextureType;
typename RemoveRef<T>::TextureIterator;
typename RemoveRef<T>::ConstTextureIterator;
{ obj.texture(uint()) } -> TextureConcept;
{ obj.textureBegin() } -> InputIterator<decltype(t)>;
{ obj.textureEnd() } -> InputIterator<decltype(t)>;
{ obj.textures() } -> InputRange<decltype(t)>;
requires IsConst<T> || requires {
{ obj.clearTextures() } -> std::same_as<void>;
{ obj.pushTexture(std::string()) } -> std::same_as<void>;
{ obj.pushTexture(t) } -> std::same_as<void>;
{ obj.textureBegin() } -> OutputIterator<decltype(t)>;
{ obj.textureEnd() } -> OutputIterator<decltype(t)>;
{ obj.textures() } -> OutputRange<decltype(t)>;
};
}
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
The InputIterator concept is satisfied if T is an input iterator that implements the operator* return...
Definition iterators.h:46
Definition texture.h:33
HasTextureImages concept is satisfied only if a Mesh class provides the member functions specified in...
Definition texture_images.h:43
HasTexturePaths concept is satisfied only if a Mesh class provides the member functions specified in ...
Definition texture_paths.h:47

Detailed Description

HasTextureImages concept is satisfied only if a Mesh class provides the member functions specified in this concept. These member functions allows to access to a vcl::comp::TextureImages component of a given mesh.