MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Graphics::SampledTexture Struct Reference

A texture bound besides the default one, with an optional sampler. More...

#include <GraphicsUtils.hpp>

Collaboration diagram for MayaFlux::Portal::Graphics::SampledTexture:

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

Detailed Description

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.


The documentation for this struct was generated from the following file: