oa::FnImage::saveTextureFile

Synchronous file sink for a device-local packed RGBA8 texture. pending work in the engine's matching private recorder completes before readback. The output codec is inferred from .png, .jpg/.jpeg, .bmp, or .tga.

Function Documentation

oa::Status oa::FnImage::saveTextureFile( Engine & inEngine, const oa::Texture & inTexture, oa::StringView inPath )
Synchronous file sink for a device-local packed RGBA8 texture. pending work in the engine's matching private recorder completes before readback. The output codec is inferred from .png, .jpg/.jpeg, .bmp, or .tga.

Parameters

inEngine
Engine &

inTexture
const oa::Texture &

inPath
oa::StringView

Returns

oa::Status

The declared return value.