Romestead Assembly Reference

Candide.Toolkit.ImGuiRenderer

Type JSON

public class in Candide.Toolkit

Methods11
Properties0
Fields17
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Toolkit
  • Base typeSystem.Object
  • HashEB52F84EBED1574287D7328BCAE75986CA0D49308594C0FDF03BBB98EB4190E0

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
_contextprivateprivate System.IntPtr _context
_effectprivateprivate Microsoft.Xna.Framework.Graphics.BasicEffect _effect
_fontTextureIdprivateprivate System.Nullable<System.IntPtr> _fontTextureId
_gameprivateprivate Microsoft.Xna.Framework.Game _game
_graphicsDeviceprivateprivate Microsoft.Xna.Framework.Graphics.GraphicsDevice _graphicsDevice
_indexBufferprivateprivate Microsoft.Xna.Framework.Graphics.IndexBuffer _indexBuffer
_indexBufferSizeprivateprivate System.Int32 _indexBufferSize
_indexDataprivateprivate System.Byte[] _indexData
_keysprivateprivate System.Collections.Generic.List<System.Int32> _keys
_loadedTexturesprivateprivate System.Collections.Generic.Dictionary<System.IntPtr, Microsoft.Xna.Framework.Graphics.Texture2D> _loadedTextures
_loadedTexturesTwinprivateprivate System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Graphics.Texture2D, System.IntPtr> _loadedTexturesTwin
_rasterizerStateprivateprivate Microsoft.Xna.Framework.Graphics.RasterizerState _rasterizerState
_scrollWheelValueprivateprivate System.Int32 _scrollWheelValue
_textureIdprivateprivate System.Int32 _textureId
_vertexBufferprivateprivate Microsoft.Xna.Framework.Graphics.VertexBuffer _vertexBuffer
_vertexBufferSizeprivateprivate System.Int32 _vertexBufferSize
_vertexDataprivateprivate System.Byte[] _vertexData

Methods

AfterLayout

public System.Void AfterLayout()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashD6E2780A32F615D9D879F8141AFE7BF2C176CAC68BCABD77FAF3CB992F64ABDA
  • Body hash828E3C06613A7F107807487080105161A022C1F19F89B5E709CA436CEA83F29F
  • IL size17
Referenced calls
Called by

BeforeLayout

public System.Void BeforeLayout(Microsoft.Xna.Framework.GameTime gameTime, System.Boolean updateInput)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash955ECA2436254E8DEFCC3454FE6BF6CDBB195C0255C55C210A9BBDAB59E3D264
  • Body hashC9980697147BB1827FE3015014D3ADA615D73E68DF4292D855886DEE4B27D1DF
  • IL size55
Referenced calls
  • ImGuiNET.ImGui::SetCurrentContext(System.IntPtr)
  • ImGuiNET.ImGui::GetIO()
  • ImGuiNET.ImGuiIOPtr::get_DeltaTime()
  • Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()
  • System.TimeSpan::get_TotalSeconds()
  • Candide.Toolkit.ImGuiRenderer::UpdateInput()
  • ImGuiNET.ImGui::NewFrame()
Called by

BindTexture

public System.IntPtr BindTexture(Microsoft.Xna.Framework.Graphics.Texture2D texture)

Method metadata
  • Visibilitypublic
  • Return typeSystem.IntPtr
  • StaticFalse
  • VirtualTrue
  • HashC60AA6B32AA175AE65D1271B95AE1A6E7E5885F1A2E57E440390ED519C0D741E
  • Body hash33491EA6FD3E2D9EB8A5847330D7872D0974FFC8685037377CB60298FA5CEAAB
  • IL size70
Referenced calls
  • System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Graphics.Texture2D, System.IntPtr>::TryGetValue(!0, !1&)
  • System.IntPtr::.ctor(System.Int32)
  • System.Collections.Generic.Dictionary<System.IntPtr, Microsoft.Xna.Framework.Graphics.Texture2D>::Add(!0, !1)
  • System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Graphics.Texture2D, System.IntPtr>::Add(!0, !1)
Called by

RebuildFontAtlas

public System.Void RebuildFontAtlas()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashF412F4631DC44E9385BB808010FD0CFB5C07A9222F87028EA9D5689A5ECEE4D9
  • Body hash610E81A33A90E5CA94EBBC796FF36D502432F2B51ED857130ABF793892E5B8F6
  • IL size180
Referenced calls
  • ImGuiNET.ImGui::GetIO()
  • ImGuiNET.ImGuiIOPtr::get_Fonts()
  • ImGuiNET.ImFontAtlasPtr::GetTexDataAsRGBA32(System.Byte*&, System.Int32&, System.Int32&, System.Int32&)
  • System.IntPtr::.ctor(System.Void*)
  • System.Runtime.InteropServices.Marshal::Copy(System.IntPtr, System.Byte[], System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Graphics.Texture2D::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, System.Int32, System.Int32, System.Boolean, Microsoft.Xna.Framework.Graphics.SurfaceFormat)
  • Microsoft.Xna.Framework.Graphics.Texture2D::SetData(!!0[])
  • System.Nullable<System.IntPtr>::get_HasValue()
  • System.Nullable<System.IntPtr>::get_Value()
  • Candide.Toolkit.ImGuiRenderer::UnbindTexture(System.IntPtr)
  • Candide.Toolkit.ImGuiRenderer::BindTexture(Microsoft.Xna.Framework.Graphics.Texture2D)
  • System.Nullable<System.IntPtr>::.ctor(!0)
  • ImGuiNET.ImFontAtlasPtr::SetTexID(System.IntPtr)
  • ImGuiNET.ImFontAtlasPtr::ClearTexData()
Called by

RenderCommandLists

private System.Void RenderCommandLists(ImGuiNET.ImDrawDataPtr drawData)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash16EFC30B7D668D3E707DC8311B5C00705C4354697EBF20D0CDB74CB13FA8931E
  • Body hash1C798070E823EF2B21A51E931F6ED7D2FBB23400DD40593A7E7C8C8E3CDA362C
  • IL size456
Referenced calls
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::SetVertexBuffer(Microsoft.Xna.Framework.Graphics.VertexBuffer)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_Indices(Microsoft.Xna.Framework.Graphics.IndexBuffer)
  • ImGuiNET.ImDrawDataPtr::get_CmdListsRange()
  • ImGuiNET.RangePtrAccessor<ImGuiNET.ImDrawListPtr>::get_Item(System.Int32)
  • ImGuiNET.ImDrawListPtr::get_CmdBuffer()
  • ImGuiNET.ImPtrVector<ImGuiNET.ImDrawCmdPtr>::get_Item(System.Int32)
  • ImGuiNET.ImDrawCmdPtr::get_TextureId()
  • System.Collections.Generic.Dictionary<System.IntPtr, Microsoft.Xna.Framework.Graphics.Texture2D>::ContainsKey(!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • System.InvalidOperationException::.ctor(System.String)
  • ImGuiNET.ImDrawCmdPtr::get_ClipRect()
  • Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_ScissorRectangle(Microsoft.Xna.Framework.Rectangle)
  • System.Collections.Generic.Dictionary<System.IntPtr, Microsoft.Xna.Framework.Graphics.Texture2D>::get_Item(!0)
  • Candide.Toolkit.ImGuiRenderer::UpdateEffect(Microsoft.Xna.Framework.Graphics.Texture2D)
  • Microsoft.Xna.Framework.Graphics.Effect::get_CurrentTechnique()
  • Microsoft.Xna.Framework.Graphics.EffectTechnique::get_Passes()
  • Microsoft.Xna.Framework.Graphics.EffectPassCollection::GetEnumerator()
  • EffectPassCollection.Enumerator::get_Current()
  • Microsoft.Xna.Framework.Graphics.EffectPass::Apply()
  • ImGuiNET.ImDrawListPtr::get_VtxBuffer()
  • ImGuiNET.ImDrawCmdPtr::get_ElemCount()
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::DrawIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32)
  • EffectPassCollection.Enumerator::MoveNext()
  • System.IDisposable::Dispose()
  • ImGuiNET.ImDrawDataPtr::get_CmdListsCount()
Called by
String literals
  • Could not find a texture with id '
  • ', please check your bindings

RenderDrawData

private System.Void RenderDrawData(ImGuiNET.ImDrawDataPtr drawData)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash0D436D1E203C74BEDE02F30E7AD5EECB37B8293E4CEAA9AE6419CAE61F98EFE3
  • Body hashF1D2312009FDF2399709637774FA08248D35636D16DB41A3C1D82E3DD64D0313
  • IL size203
Referenced calls
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_ScissorRectangle()
  • Microsoft.Xna.Framework.Color::get_White()
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_BlendFactor(Microsoft.Xna.Framework.Color)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_BlendState(Microsoft.Xna.Framework.Graphics.BlendState)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_RasterizerState(Microsoft.Xna.Framework.Graphics.RasterizerState)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_DepthStencilState(Microsoft.Xna.Framework.Graphics.DepthStencilState)
  • ImGuiNET.ImGui::GetIO()
  • ImGuiNET.ImGuiIOPtr::get_DisplayFramebufferScale()
  • ImGuiNET.ImDrawDataPtr::ScaleClipRects(System.Numerics.Vector2)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_PresentationParameters()
  • Microsoft.Xna.Framework.Graphics.PresentationParameters::get_BackBufferWidth()
  • Microsoft.Xna.Framework.Graphics.PresentationParameters::get_BackBufferHeight()
  • Microsoft.Xna.Framework.Graphics.Viewport::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_Viewport(Microsoft.Xna.Framework.Graphics.Viewport)
  • Candide.Toolkit.ImGuiRenderer::UpdateBuffers(ImGuiNET.ImDrawDataPtr)
  • Candide.Toolkit.ImGuiRenderer::RenderCommandLists(ImGuiNET.ImDrawDataPtr)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_ScissorRectangle(Microsoft.Xna.Framework.Rectangle)
Called by

SetupInput

protected System.Void SetupInput()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashD8F7592987C2106E04BEC523B9FB2C1922064BD3D2FCBBC90364A568C9524E11
  • Body hash528D8D2D179AA384361F1134CAB4E27D62742182F4AD26AD9A548EE97185452F
  • IL size847
Referenced calls
  • ImGuiRenderer.<>c__DisplayClass23_0::.ctor()
  • ImGuiNET.ImGui::GetIO()
  • ImGuiNET.ImGuiIOPtr::get_KeyMap()
  • ImGuiNET.RangeAccessor<System.Int32>::get_Item(System.Int32)
  • System.Collections.Generic.List<System.Int32>::Add(!0)
  • Microsoft.Xna.Framework.Game::get_Window()
  • ImGuiRenderer.<>c__DisplayClass23_0::<SetupInput>b__0(System.Object, Microsoft.Xna.Framework.TextInputEventArgs)
  • System.EventHandler<Microsoft.Xna.Framework.TextInputEventArgs>::.ctor(System.Object, System.IntPtr)
  • Microsoft.Xna.Framework.GameWindow::add_TextInput(System.EventHandler<Microsoft.Xna.Framework.TextInputEventArgs>)
  • ImGuiNET.ImGuiIOPtr::get_Fonts()
  • ImGuiNET.ImFontAtlasPtr::AddFontDefault()

UnbindTexture

public System.Void UnbindTexture(System.IntPtr textureId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash2995B1042FCBEB2ECEC2439E2A00BE2620F9CEFFB31610C9E88ACD3BACB0B498
  • Body hash77AD4733E52D3021F1050667AE2137B24A9B4994FD699C14061ABD53C65ACC1F
  • IL size31
Referenced calls
  • System.Collections.Generic.Dictionary<System.IntPtr, Microsoft.Xna.Framework.Graphics.Texture2D>::Remove(!0, !1&)
  • System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Graphics.Texture2D, System.IntPtr>::Remove(!0)
Called by

UpdateBuffers

private System.Void UpdateBuffers(ImGuiNET.ImDrawDataPtr drawData)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashA4BB010D7EBEB4B11C70E49A9F8D9419060DF0A16FF4E7024389BC587558EB33
  • Body hashDBCC6B676ACCEDC6AF0273F3506D0DA55DB9FDA654BFDB559856CC4D06015D44
  • IL size499
Referenced calls
  • ImGuiNET.ImDrawDataPtr::get_TotalVtxCount()
  • Microsoft.Xna.Framework.Graphics.GraphicsResource::Dispose()
  • Microsoft.Xna.Framework.Graphics.VertexBuffer::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Graphics.VertexDeclaration, System.Int32, Microsoft.Xna.Framework.Graphics.BufferUsage)
  • ImGuiNET.ImDrawDataPtr::get_TotalIdxCount()
  • Microsoft.Xna.Framework.Graphics.IndexBuffer::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Graphics.IndexElementSize, System.Int32, Microsoft.Xna.Framework.Graphics.BufferUsage)
  • ImGuiNET.ImDrawDataPtr::get_CmdListsRange()
  • ImGuiNET.RangePtrAccessor<ImGuiNET.ImDrawListPtr>::get_Item(System.Int32)
  • ImGuiNET.ImDrawListPtr::get_VtxBuffer()
  • System.Buffer::MemoryCopy(System.Void*, System.Void*, System.Int64, System.Int64)
  • ImGuiNET.ImDrawListPtr::get_IdxBuffer()
  • ImGuiNET.ImDrawDataPtr::get_CmdListsCount()
  • Microsoft.Xna.Framework.Graphics.VertexBuffer::SetData(!!0[], System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Graphics.IndexBuffer::SetData(!!0[], System.Int32, System.Int32)
Called by

UpdateEffect

protected Microsoft.Xna.Framework.Graphics.Effect UpdateEffect(Microsoft.Xna.Framework.Graphics.Texture2D texture)

Method metadata
  • Visibilityprotected
  • Return typeMicrosoft.Xna.Framework.Graphics.Effect
  • StaticFalse
  • VirtualTrue
  • HashBB7E1F37D24CAA0ACFAEDE58BD7E46E8CA17CC4C027BE4DA4A1CAD271FB92280
  • Body hashD95954436908EE95B7241ED977E359394C6544E62C37F2F728B941D7B277FA2B
  • IL size170
Referenced calls
  • Microsoft.Xna.Framework.Graphics.BasicEffect::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice)
  • ImGuiNET.ImGui::GetIO()
  • Microsoft.Xna.Framework.Matrix::get_Identity()
  • Microsoft.Xna.Framework.Graphics.BasicEffect::set_World(Microsoft.Xna.Framework.Matrix)
  • Microsoft.Xna.Framework.Graphics.BasicEffect::set_View(Microsoft.Xna.Framework.Matrix)
  • ImGuiNET.ImGuiIOPtr::get_DisplaySize()
  • Microsoft.Xna.Framework.Matrix::CreateOrthographicOffCenter(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single)
  • Microsoft.Xna.Framework.Graphics.BasicEffect::set_Projection(Microsoft.Xna.Framework.Matrix)
  • Microsoft.Xna.Framework.Graphics.BasicEffect::set_TextureEnabled(System.Boolean)
  • Microsoft.Xna.Framework.Graphics.BasicEffect::set_Texture(Microsoft.Xna.Framework.Graphics.Texture2D)
  • Microsoft.Xna.Framework.Graphics.BasicEffect::set_VertexColorEnabled(System.Boolean)
Called by

UpdateInput

protected System.Void UpdateInput()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash1EFA35585BFC83E87143C4371E87EC33CCBC88627074875460268A6AF262FB77
  • Body hash4527F47CDDED2B567C1B8BC8A00D5F341BE81E2183D4CB61DBB2CE73B90EB315
  • IL size484
Referenced calls
  • ImGuiNET.ImGui::GetIO()
  • Microsoft.Xna.Framework.Input.Mouse::GetState()
  • Microsoft.Xna.Framework.Input.Keyboard::GetState()
  • ImGuiNET.ImGuiIOPtr::get_KeysDown()
  • System.Collections.Generic.List<System.Int32>::get_Item(System.Int32)
  • ImGuiNET.RangeAccessor<System.Boolean>::get_Item(System.Int32)
  • Microsoft.Xna.Framework.Input.KeyboardState::IsKeyDown(Microsoft.Xna.Framework.Input.Keys)
  • System.Collections.Generic.List<System.Int32>::get_Count()
  • ImGuiNET.ImGuiIOPtr::get_KeyShift()
  • ImGuiNET.ImGuiIOPtr::get_KeyCtrl()
  • ImGuiNET.ImGuiIOPtr::get_KeyAlt()
  • ImGuiNET.ImGuiIOPtr::get_KeySuper()
  • ImGuiNET.ImGuiIOPtr::get_DisplaySize()
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_PresentationParameters()
  • Microsoft.Xna.Framework.Graphics.PresentationParameters::get_BackBufferWidth()
  • Microsoft.Xna.Framework.Graphics.PresentationParameters::get_BackBufferHeight()
  • System.Numerics.Vector2::.ctor(System.Single, System.Single)
  • ImGuiNET.ImGuiIOPtr::get_DisplayFramebufferScale()
  • ImGuiNET.ImGuiIOPtr::get_MousePos()
  • Microsoft.Xna.Framework.Input.MouseState::get_X()
  • Microsoft.Xna.Framework.Input.MouseState::get_Y()
  • ImGuiNET.ImGuiIOPtr::get_MouseDown()
  • Microsoft.Xna.Framework.Input.MouseState::get_LeftButton()
  • Microsoft.Xna.Framework.Input.MouseState::get_RightButton()
  • Microsoft.Xna.Framework.Input.MouseState::get_MiddleButton()
  • Microsoft.Xna.Framework.Input.MouseState::get_ScrollWheelValue()
  • ImGuiNET.ImGuiIOPtr::get_MouseWheel()
Called by