csharp
public readonly record struct WebGpuObjectSomething a WebGPU implementation owns, referred to by an opaque token.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A pointer on the native surface and a table index in the browser, and neither is the backend's business — which is the point. The backend holds these, hands them back, and never dereferences one.
Not a Handle`1: those are generation-checked slots in a table this engine owns, and these are neither. Use-after-free is caught a layer up, where the RHI's handles live.
Fields and properties (3)
public ulong ValueThe token.
public static WebGpuObject NullNo object.
public bool IsValidWhether this refers to anything.
Methods (1)
public WebGpuObject(ulong Value)Something a WebGPU implementation owns, referred to by an opaque token.
Used by (27)
- FakeWebGpuBindingVixen.Graphics.WebGPU.Tests
- IWebGpuBindingVixen.Graphics.WebGPU
- NativeWebGpuBindingVixen.Graphics.WebGPU
- PushConstantRingVixen.Graphics.WebGPU
- ReplayStateVixen.Graphics.WebGPU
- WebGpuBufferVixen.Graphics.WebGPU
- WebGpuCommandVixen.Graphics.WebGPU
- WebGpuCommandListVixen.Graphics.WebGPU
- WebGpuDescriptorSetVixen.Graphics.WebGPU
- WebGpuDescriptorSetLayoutVixen.Graphics.WebGPU
- WebGpuDeviceVixen.Graphics.WebGPU
- WebGpuPipelineVixen.Graphics.WebGPU
- WebGpuPipelineLayoutVixen.Graphics.WebGPU
- WebGpuSamplerVixen.Graphics.WebGPU
- WebGpuShaderVixen.Graphics.WebGPU
- WebGpuSwapChainVixen.Graphics.WebGPU
- WebGpuTextureVixen.Graphics.WebGPU
- WebGpuTextureViewVixen.Graphics.WebGPU
- WgpuBindGroupDescriptorVixen.Graphics.WebGPU
- WgpuBindGroupEntryVixen.Graphics.WebGPU
- WgpuColourAttachmentVixen.Graphics.WebGPU
- WgpuComputePipelineDescriptorVixen.Graphics.WebGPU
- WgpuDepthStencilAttachmentVixen.Graphics.WebGPU
- WgpuImageCopyBufferVixen.Graphics.WebGPU
- WgpuImageCopyTextureVixen.Graphics.WebGPU
- WgpuPipelineLayoutDescriptorVixen.Graphics.WebGPU
- WgpuRenderPipelineDescriptorVixen.Graphics.WebGPU