oa::FnTexture::copyToHost

Synchronous semantic readback for buffer-backed RGBA8 textures. Any work recorded on the texture's engine completes before bytes are copied.

Function Documentation

oa::Status oa::FnTexture::copyToHost( oa::Engine & inEngine, const Texture & inTexture, void * outHost, oa::U64 inBytes )
Synchronous semantic readback for buffer-backed RGBA8 textures. Any work recorded on the texture's engine completes before bytes are copied.

Parameters

inEngine
oa::Engine &

inTexture
const Texture &

outHost
void *

inBytes
oa::U64

Returns

oa::Status

The declared return value.

Examples