Show / Hide Table of Contents

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 follows the general layout of imgui's sample (which is a mess), but has been rather expanded to cover the vast majority of render state, following the example here https://github.com/GPUOpen-LibrariesAndSDKs/CrossfireAPI11/blob/master/amd_lib/src/AMD_SaveRestoreState.cpp Would be nice to organize it better, but it seems to work

Inheritance
System.Object
ImGui_Impl_DX11
Implements
IImGuiRenderer
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 Source

CreateDeviceObjects()

Declaration
public bool CreateDeviceObjects()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CreateFontsTexture()

Declaration
public void CreateFontsTexture()
| Improve this Doc View Source

CreateWindow(ImGuiViewportPtr)

Declaration
public void CreateWindow(ImGuiViewportPtr viewport)
Parameters
Type Name Description
ImGuiViewportPtr viewport
| Improve this Doc View Source

DestroyWindow(ImGuiViewportPtr)

Declaration
public void DestroyWindow(ImGuiViewportPtr viewport)
Parameters
Type Name Description
ImGuiViewportPtr viewport
| Improve this Doc View Source

Init(Object[])

Declaration
public void Init(params object[] initParams)
Parameters
Type Name Description
System.Object[] initParams
| Improve this Doc View Source

InvalidateDeviceObjects()

Declaration
public void InvalidateDeviceObjects()
| Improve this Doc View Source

NewFrame()

Declaration
public void NewFrame()
| Improve this Doc View Source

RebuildFontTexture()

Declaration
public void RebuildFontTexture()
| Improve this Doc View Source

RenderDrawData(ImDrawDataPtr)

Declaration
public void RenderDrawData(ImDrawDataPtr drawData)
Parameters
Type Name Description
ImDrawDataPtr drawData
| Improve this Doc View Source

RenderWindow(ImGuiViewportPtr, IntPtr)

Declaration
public void RenderWindow(ImGuiViewportPtr viewport, IntPtr v)
Parameters
Type Name Description
ImGuiViewportPtr viewport
System.IntPtr v
| Improve this Doc View Source

SetupRenderState(ImDrawDataPtr)

Declaration
public void SetupRenderState(ImDrawDataPtr drawData)
Parameters
Type Name Description
ImDrawDataPtr drawData
| Improve this Doc View Source

SetWindowSize(ImGuiViewportPtr, Vector2)

Declaration
public void SetWindowSize(ImGuiViewportPtr viewport, Vector2 size)
Parameters
Type Name Description
ImGuiViewportPtr viewport
SharpDX.Vector2 size
| Improve this Doc View Source

Shutdown()

Declaration
public void Shutdown()
| Improve this Doc View Source

SwapBuffers(ImGuiViewportPtr, IntPtr)

Declaration
public void SwapBuffers(ImGuiViewportPtr viewport, IntPtr v)
Parameters
Type Name Description
ImGuiViewportPtr viewport
System.IntPtr v

Implements

IImGuiRenderer
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX