GpuDeviceHandle Class
Definition
Namespace: Brine2D.Rendering
Shared, mutable reference to the GPU device pointer. The renderer creates one instance and passes it to every texture it allocates. When the renderer destroys the device, it calls Brine2D.Rendering.GpuDeviceHandle.Invalidate, and all textures that still reference this handle see System.IntPtr.Zero instead of a dangling pointer.
Inheritance System.Object → GpuDeviceHandle