oa::FnVideo::fromTexture
Wrap a buffer- or image-backed render target in the common video-frame contract. The texture remains producer-owned; image readiness can be supplied without a host wait.
Function Documentation
Wrap a buffer- or image-backed render target in the common video-frame contract. The texture remains producer-owned; image readiness can be supplied without a host wait.
Parameters
inTextureconst oa::Texture &—
inPtsoa::U64Default: 0ULL
inReadyoa::EventDefault: = {}
Returns
oa::Result<VideoFrame>The declared return value.