public Composer(DeviceContext10_1 deviceContext) { m_drawStateManagement = new DrawStateManagement(); m_spriteRenderer = new SpriteRenderer(deviceContext.Device, MAX_SPRITE_INSTANCES); }
public void Dispose() { if(m_spriteRenderer != null) { m_spriteRenderer.Dispose(); m_spriteRenderer = null; } }