oa::FnImage::saveRgbaFile

Synchronous host sink for one exact packed RGBA8 image. This is the encoder boundary used by image-backed render sessions after their own explicit readback/completion protocol has produced host bytes.

Function Documentation

oa::Status oa::FnImage::saveRgbaFile( oa::Span<const oa::U8> inRgba, oa::U32 inWidth, oa::U32 inHeight, oa::StringView inPath, oa::U32 inQuality = 90U )
Synchronous host sink for one exact packed RGBA8 image. This is the encoder boundary used by image-backed render sessions after their own explicit readback/completion protocol has produced host bytes.

Parameters

inRgba
oa::Span<const oa::U8>

inWidth
oa::U32

inHeight
oa::U32

inPath
oa::StringView

inQuality
oa::U32

Default: 90U

Returns

oa::Status

The declared return value.