Skip to main content

Struct ImGuiViewportTextureArgs

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

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

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

Properties

ViewportId

Gets or sets the ImGui Viewport ID to capture.

View Source
Declaration
public uint ViewportId { readonly get; set; }

AutoUpdate

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

View Source
Declaration
public bool AutoUpdate { readonly get; set; }

TakeBeforeImGuiRender

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

View Source
Declaration
public bool TakeBeforeImGuiRender { readonly get; set; }

KeepTransparency

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

View Source
Declaration
public bool KeepTransparency { readonly get; set; }

Uv0

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

View Source
Declaration
public Vector2 Uv0 { readonly get; set; }

Uv1

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

View Source
Declaration
public Vector2 Uv1 { readonly get; set; }

Methods

ToString()

Returns the fully qualified type name of this instance.

View Source
Declaration
public override string ToString()
Returns

System.String: The fully qualified type name.

Implements

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