wgpu_swapchain_get_texture_view function

  1. @Native<Uint64 Function(Uint64)>(ffi.Uint64)>()
int wgpu_swapchain_get_texture_view(
  1. int surface_id
)

Acquire the next swapchain texture for rendering. Returns texture view handle, or 0 if failed.

Implementation

@ffi.Native<ffi.Uint64 Function(ffi.Uint64)>()
external int wgpu_swapchain_get_texture_view(
  int surface_id,
);