Class ImGui_Impl_DX11
Currently undocumented because it is a horrible mess. A near-direct port of https://github.com/ocornut/imgui/blob/master/examples/imgui_impl_dx11.cpp State backup was removed because ImGui does it poorly and SharpDX makes it worse; state caching should be the responsibility of the main render application anyway (which for most uses of this class does not exist at all)
Inheritance
System.Object
ImGui_Impl_DX11
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImGuiScene
Assembly: ImGuiScene.dll
Syntax
public class ImGui_Impl_DX11 : IImGuiRenderer
Methods
| Improve this Doc View SourceCreateDeviceObjects()
Declaration
public bool CreateDeviceObjects()
Returns
| Type | Description |
|---|---|
| System.Boolean |
CreateFontsTexture()
Declaration
public void CreateFontsTexture()
Init(Object[])
Declaration
public void Init(params object[] initParams)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object[] | initParams |
InvalidateDeviceObjects()
Declaration
public void InvalidateDeviceObjects()
NewFrame()
Declaration
public void NewFrame()
RenderDrawData(ImDrawDataPtr)
Declaration
public void RenderDrawData(ImDrawDataPtr drawData)
Parameters
| Type | Name | Description |
|---|---|---|
| ImDrawDataPtr | drawData |
SetupRenderState(ImDrawDataPtr)
Declaration
public void SetupRenderState(ImDrawDataPtr drawData)
Parameters
| Type | Name | Description |
|---|---|---|
| ImDrawDataPtr | drawData |
Shutdown()
Declaration
public void Shutdown()