Skip to main content

Struct ImGuiViewportTextureArgs

Describes how to take a texture of an existing ImGui viewport.

Assembly: Dalamud.dll
Declaration
public struct ImGuiViewportTextureArgs : IEquatable<ImGuiViewportTextureArgs>

Implements:
System.IEquatable<Dalamud.Interface.Textures.ImGuiViewportTextureArgs>

Properties

ViewportId

Gets or sets the ImGui Viewport ID to capture.

Declaration
public uint ViewportId { readonly get; set; }

AutoUpdate

Gets or sets a value indicating whether to automatically update the texture.

Declaration
public bool AutoUpdate { readonly get; set; }

TakeBeforeImGuiRender

Gets or sets a value indicating whether to get the texture before rendering ImGui.

Declaration
public bool TakeBeforeImGuiRender { readonly get; set; }

KeepTransparency

Gets or sets a value indicating whether to keep the transparency.

Declaration
public bool KeepTransparency { readonly get; set; }

Uv0

Gets or sets the left top coordinates relative to the size of the source texture.

Declaration
public Vector2 Uv0 { readonly get; set; }

Uv1

Gets or sets the right bottom coordinates relative to the size of the source texture.

Declaration
public Vector2 Uv1 { readonly get; set; }

Methods

ToString()

Declaration
public override string ToString()
Returns

System.String

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns

System.Int32

Equals(object)

Declaration
public override readonly bool Equals(object obj)
Returns

System.Boolean

Parameters
TypeName
System.Objectobj

Equals(ImGuiViewportTextureArgs)

Declaration
public readonly bool Equals(ImGuiViewportTextureArgs other)
Returns

System.Boolean

Parameters
TypeName
Dalamud.Interface.Textures.ImGuiViewportTextureArgsother

Implements

  • System.IEquatable<Dalamud.Interface.Textures.ImGuiViewportTextureArgs>