wgpu_get_surface_format function

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

Get the texture format of a surface (returns FFI texture format value).

Implementation

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