MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_texture()

void MayaFlux::Buffers::NetworkTextureBuffer::set_texture ( std::shared_ptr< Core::VKImage image,
const Portal::Graphics::SamplerConfig config = {} 
)

Replace the texture source at runtime.

Parameters
imageNew VKImage (nullptr reverts to UV-only)
configSampler configuration

Definition at line 32 of file NetworkTextureBuffer.cpp.

35{
36 m_uv_processor->set_texture(std::move(image), config);
37}
IO::ImageData image
std::shared_ptr< UVFieldProcessor > m_uv_processor

References image, and m_uv_processor.