public D3D9Renderer([Import] ID3D9Context context, [Import] FontCache fontCache) { this.context = context; this.fontCache = fontCache; this.line = new Line(this.context.Device); this.sprite = new Sprite(this.context.Device); context.PreReset += this.OnPreReset; context.PostReset += this.OnPostReset; }
public D3D9Renderer(ID3D9Context context, FontCache fontCache, D3D9TextureManager9 textureManager) { this.context = context; this.fontCache = fontCache; this.textureManager = textureManager; this.line = new Line(this.context.Device); this.sprite = new Sprite(this.context.Device); context.PreReset += this.OnPreReset; context.PostReset += this.OnPostReset; context.Draw += this.OnDraw; }
public D3D9Renderer([Import] ID3D9Context context, [Import] FontCache fontCache, [Import] D3D9TextureManager textureManager) { this.context = context; this.fontCache = fontCache; this.textureManager = textureManager; this.line = new Line(this.context.Device) { //Antialias = true }; this.sprite = new Sprite(this.context.Device); context.PreReset += this.OnPreReset; context.PostReset += this.OnPostReset; }
public D3D9TextureManager9(ID3D9Context renderContext, VpkBrowser9 vpkBrowser) : base(vpkBrowser) { this.renderContext = renderContext; base.LoadFromDota(AbilityId.invoker_empty1, false); }
public FontCache([Import] ID3D9Context context) { this.Context = context; this.Context.PreReset += this.PreReset; this.Context.PostReset += this.PostReset; }
public D3D9TextureManager([Import] ID3D9Context renderContext, [Import] VpkBrowser vpkBrowser) { this.renderContext = renderContext; this.vpkBrowser = vpkBrowser; }
public D3D9TextureManager(ID3D9Context renderContext) { this.renderContext = renderContext; }
public SimpleD3D9Renderer(ID3D9Context context, FontCache fontCache) { this.context = context; this.fontCache = fontCache; }