Ejemplo n.º 1
0
        public D3D11Renderer([Import] ID3D11Context context, [Import] BrushCache brushCache, [Import] TextFormatCache textFormatCache, [Import] D3D11TextureManager textureManager)
        {
            this.context = context;

            this.brushCache      = brushCache;
            this.textFormatCache = textFormatCache;
            this.textureManager  = textureManager;
        }
Ejemplo n.º 2
0
        public D3D11Renderer(ID3D11Context context, BrushCache brushCache, TextFormatCache textFormatCache, D3D11TextureManager textureManager)
        {
            this.context         = context;
            this.brushCache      = brushCache;
            this.textFormatCache = textFormatCache;
            this.textureManager  = textureManager;

            this.textureManager.VpkLoaded += this.OnVpkLoaded;
        }