public void Dispose() { if (!disposed) { disposed = true; Texture.Dispose(); SRV.Dispose(); } }
public void Clear() { if (View != null) { View.Dispose(); View = null; } if (SRV != null) { SRV.Dispose(); SRV = null; } }
public void Dispose() { _data.Dispose(); SRV.Dispose(); UAV.Dispose(); }