Ejemplo n.º 1
0
        protected override void Unload()
        {
            if (dynamicEffectCompiler != null)
            {
                // Release the slot (note: if shared, it will wait for all its usage to be released)
                slotManager.ReleaseSlot(modelRenderSlot);
                // TODO: Remove RenderMeshes
            }

            base.Unload();
        }