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

            this.brushCache      = brushCache;
            this.textFormatCache = textFormatCache;
        }
        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;
        }
Beispiel #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;
        }