|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
A texture bound besides the default one, with an optional sampler. More...
#include <GraphicsUtils.hpp>
Public Member Functions | |
| bool | operator== (const SampledTexture &other) const =default |
Public Attributes | |
| std::shared_ptr< Core::VKImage > | image |
| std::string | name |
| std::optional< SamplerConfig > | sampler |
A texture bound besides the default one, with an optional sampler.
{ "text", nullptr } and { .name = "map", .image = image, .sampler = SamplerConfig { ... } } both work. Without a sampler the render processor's default is used.
Definition at line 323 of file GraphicsUtils.hpp.