oa::FnTexture
FnTexture namespace in the OA Core public surface.
NsC++ public headers
Public Functions
Function Documentation
No public source comment is attached to this declaration.
Parameters
inDescconst BlitDesc &—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Parameters
inTargetconst Texture &—
inColorClearColor—
Returns
oa::StatusThe declared return value.
Synchronous semantic readback for buffer-backed RGBA8 textures. Any work recorded on the texture's engine completes before bytes are copied.
Parameters
inEngineoa::Engine &—
inTextureconst Texture &—
outHostvoid *—
inBytesoa::U64—
Returns
oa::StatusThe declared return value.
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.
Synchronously upload one exact packed-RGBA8 host image.
Parameters
inEngineoa::Engine &—
inRgbaoa::Span<const oa::U8>—
inWidthoa::I32—
inHeightoa::I32—
Returns
oa::Result<Texture>The declared return value.