Method Dispose Dispose() Decrements the reference counter. When the reference counter reaches 0, the CommandBuffer is disposed. Declaration public void Dispose()