oa::render::texture_from_rgba8
Upload one exact packed row-major RGBA8 host image as a Texture. Errors Returns an error for zero or overflowing dimensions, a mismatched byte count, exhausted semantic identity, or device allocation/upload failure. This variant uploads on this thread’s default engine. An engine initialization failure is returned before the upload starts.
Function Documentation
Upload one exact packed row-major RGBA8 host image as a Texture. Errors Returns an error for zero or overflowing dimensions, a mismatched byte count, exhausted semantic identity, or device allocation/upload failure. This variant uploads on this thread’s default engine. An engine initialization failure is returned before the upload starts.