#[unsafe(no_mangle)]pub extern "C" fn wasm_ctx_framebuffer_texture2d(
ctx: u32,
target: u32,
attachment: u32,
textarget: u32,
tex: u32,
level: i32,
) -> u32Expand description
Attach a texture to the bound framebuffer. Returns errno.