docs.rs failed to build imgui-dx11-renderer-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
imgui-dx11-renderer
DirectX 11 renderer for imgui-rs.
Usage
This crate makes use of the ComPtr wrapper of the wio crate. You have to wrap your device pointer in one to pass it to the renderer should you not use these internally already, tho care must be taken in regards of the reference count.
let device: = ...;
let imgui: Context = ...;
let mut renderer = new.expect;
// rendering loop
let ui = imgui.frame;
// build your window via ui here
...
// then to render call
renderer.render.expect;
Documentation
The crate is documented but imgui-rs doesn't currently build on docs.rs for the windows target. Due to this one has to either build it themselves or look into the source itself.
License
Licensed under the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)