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

            this.brushCache      = brushCache;
            this.textFormatCache = textFormatCache;
        }
Exemplo n.º 2
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;
        }
Exemplo n.º 3
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;
        }