Interface WGPUFunctionTypes.IWGPUDeviceLostCallback
- Enclosing class:
WGPUFunctionTypes
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
invoke
(@NotNull MemorySegment p0, int p1, MemorySegment p2, @NotNull MemorySegment p3, @NotNull MemorySegment p4) static MethodHandle
of
(@NotNull WGPUFunctionTypes.IWGPUDeviceLostCallback lambda) static MemorySegment
ofNative
(@NotNull WGPUFunctionTypes.IWGPUDeviceLostCallback lambda) static MemorySegment
ofNative
(@NotNull Arena arena, @NotNull WGPUFunctionTypes.IWGPUDeviceLostCallback lambda)
-
Method Details
-
invoke
void invoke(@Pointer(comment="void*") @NotNull @NotNull MemorySegment p0, @EnumType(WGPUDeviceLostReason.class) int p1, @NativeType("WGPUStringView") MemorySegment p2, @Pointer(comment="void*") @NotNull @NotNull MemorySegment p3, @Pointer(comment="void*") @NotNull @NotNull MemorySegment p4) -
of
-
ofNative
-
ofNative
static MemorySegment ofNative(@NotNull @NotNull Arena arena, @NotNull @NotNull WGPUFunctionTypes.IWGPUDeviceLostCallback lambda)
-