Method SafeRelease
SafeRelease(GraphicsBuffer)
Safely release a Graphics Buffer.
Declaration
public static void SafeRelease(GraphicsBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
GraphicsBuffer | buffer | Graphics Buffer that needs to be released. |
SafeRelease(ComputeBuffer)
Safely release a Compute Buffer.
Declaration
public static void SafeRelease(ComputeBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
ComputeBuffer | buffer | Compute Buffer that needs to be released. |