public void Dispose() { Object.DestroyImmediate(indexTex); foreach (var i in textures) { Object.DestroyImmediate(i); } indexBuffers.Dispose(); pool.Dispose(); commandListBuffer.Dispose(); }
public void Dispose() { Object.DestroyImmediate(indexTex); foreach (var i in textures) { Object.DestroyImmediate(i); } allFormats.Dispose(); indexBuffers.Dispose(); pool.Dispose(); }