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

◆ create_container()

std::shared_ptr< Kakshya::SignalSourceContainer > MayaFlux::IO::ImageReader::create_container ( )
overridevirtual

Create and initialize a container from the file.

Returns
Initialized container appropriate for the file type.

The specific container type returned depends on the file format:

  • Audio files -> SoundFileContainer
  • Video files -> VideoContainer (future)
  • Image files -> ImageContainer (future)
  • Data files -> DataContainer variants

Implements MayaFlux::IO::FileReader.

Definition at line 191 of file ImageReader.cpp.

192{
193 // Images don't use SignalSourceContainer - they go directly to GPU
194 m_last_error = "Images use direct GPU texture creation, not containers";
195 return nullptr;
196}

References m_last_error.