How tomochn-t/mycar_game works
This is a small Unity rendering command-buffer API layer: capability-specific interfaces describe permitted command operations, while three concrete wrappers forward commands to Unity’s underlying CommandBuffer. The principal use is selecting a compute, raster, or unrestricted surface, recording rendering commands, and delegating those commands to Unity. The excerpts show delegation and the source index shows interface references; no application-level entry point or command-submission lifecycle is present in the supplied material.
Main entry points: IUnsafeCommandBuffer.cs Unsafe interface · IComputeCommandBuffer.cs Compute interface · IRasterCommandBuffer.cs Raster interface · IBaseCommandBuffer.cs Base interface
Components 8
Other components
- Base interface
IBaseCommandBuffer.cs - Compute interface
IComputeCommandBuffer.cs - Raster interface
IRasterCommandBuffer.cs - Unsafe interface
IUnsafeCommandBuffer.cs - Compute wrapper
ComputeCommandBuffer.cs - Raster wrapper
RasterCommandBuffer.cs - Unsafe wrapper
UnsafeCommandBuffer.cs - Unity CommandBuffer
Connections 11
- Compute interface → Base interface: extends
IComputeCommandBuffer.cs - Raster interface → Base interface: extends
IRasterCommandBuffer.cs - Unsafe interface → Base interface: extends
IUnsafeCommandBuffer.cs - Unsafe interface → Raster interface: extends
IUnsafeCommandBuffer.cs - Unsafe interface → Compute interface: extends
IUnsafeCommandBuffer.cs - Compute wrapper → Compute interface: implements
ComputeCommandBuffer.cs - Raster wrapper → Raster interface: implements
RasterCommandBuffer.cs - Unsafe wrapper → Unsafe interface: implements
UnsafeCommandBuffer.cs - Compute wrapper → Unity CommandBuffer: forwards commands
ComputeCommandBuffer.cs - Raster wrapper → Unity CommandBuffer: forwards commands
RasterCommandBuffer.cs - Unsafe wrapper → Unity CommandBuffer: forwards commands
UnsafeCommandBuffer.cs