protected override void DoDispose() { instances.Dispose(); indices.Dispose(); vertexConstants.Dispose(); base.DoDispose(); }
public void Dispose() { if (!disposed) { disposed = true; vertexShader.Dispose(); pixelShader.Dispose(); constants.Dispose(); } }
public void Dispose() { if (!disposed) { disposed = true; vertexShader.Dispose(); pixelShader.Dispose(); instances.Dispose(); vertexConstants.Dispose(); OnDispose(); } }
protected override void DoDispose() { constants.Dispose(); base.DoDispose(); }