docs.rs failed to build imgui-dx9-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.
Visit the last successful build:
imgui-dx9-renderer-0.1.0
imgui-dx9-renderer
DirectX 9 renderer for imgui-rs.
Usage
Creating the renderer only requires you to wrap the directx device in a
NonNull
.
Internally the renderer will then add a reference through the COM api
with IUnknown::AddRef
and remove it again once dropped.
let device = new.expect;
let mut renderer = new
.expect;
Then in your rendering loop it's as easy as calling renderer.render(ui)
.
License
Licensed under the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)