oa::FnTexture::fromImage
Record conversion from a validated single semantic image to packed RGBA8. Every supported oa::Image layout and channel format is interpreted explicitly.
Function Documentation
Record conversion from a validated single semantic image to packed RGBA8. Every supported oa::Image layout and channel format is interpreted explicitly.
Parameters
inEngineoa::Engine &—
inImageconst oa::Image &—
Returns
oa::Result<Texture>The declared return value.