Drawing.OnEndScene draw text for DX9 and DX11

Some examples of DrawText for DX11, pls.
And how to detect what version user use.

Tagged:

Comments

  • YEEEEEEEYEEEEEEE Posts: 1,124

    @DarkPower said:
    Some examples of DrawText for DX11, pls.
    And how to detect what version user use.

        private IRendererManager renderer;
    
        public IRendererManager Renderer
        {
            get
            {
                if (renderer == null)
                {
                    renderer = IoC.Get<IRendererManager>();
                }
    
                return renderer;
            }
        }
    

    this method is already in Ensage.SDK
    you just need to use it and everything
    will work on DX9 and DX11

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!