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

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