Struct ImDrawData
Stores universal data for all elements rendered.
Inherited Members
      System.ValueType.Equals(System.Object)
    
    
      System.ValueType.GetHashCode()
    
    
      System.ValueType.ToString()
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: InitialPrefabs.NimGui.Render
Assembly: InitialPrefabs.ImGui.dll
Syntax
public struct ImDrawDataFields
Arguments
Extraneous arguments to help decipher the draw data. This is arbitrary data.
Declaration
public sbyte ArgumentsField Value
| Type | Description | 
|---|---|
| System.SByte | 
Color
Stores the vertex color of the mesh.
Declaration
public Color32 ColorField Value
| Type | Description | 
|---|---|
| UnityEngine.Color32 | 
Cutoff
Since we are using SDFs, it is important that each element in a "draw call" determine the cutoff for the SDF.
For example, with text, you may want a cutoff of 0.5. But for solid blocks, you may want a cutoff of 0 so that the rect is full.
Declaration
public float CutoffField Value
| Type | Description | 
|---|---|
| System.Single | 
Rect
Stores the general bounds of the UI element.
Declaration
public ImRect RectField Value
| Type | Description | 
|---|---|
| ImRect | 
Type
Stores the type of element we intend to render
Declaration
public ImDrawCommandType TypeField Value
| Type | Description | 
|---|---|
| ImDrawCommandType |