コード例 #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
ファイル: D3D11Renderer.cs プロジェクト: limurk/Ensage.SDK
        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;
        }