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