Skip to main content

Interface IDalamudTextureWrap

Base TextureWrap interface for all Dalamud-owned texture wraps. Used to avoid referencing ImGuiScene.

Assembly: Dalamud.dll
View Source
Declaration
public interface IDalamudTextureWrap : IDisposable

Properties

ImGuiHandle

Gets a texture handle suitable for direct use with ImGui functions.

View Source
Declaration
nint ImGuiHandle { get; }

Width

Gets the width of the texture.

View Source
Declaration
int Width { get; }

Height

Gets the height of the texture.

View Source
Declaration
int Height { get; }

Size

Gets the size vector of the texture using Width, Height.

View Source
Declaration
Vector2 Size { get; }

Methods

CreateWrapSharingLowLevelResource()

Creates a new reference to the resource being pointed by this instance of Dalamud.Interface.Textures.TextureWraps.IDalamudTextureWrap.

View Source
Declaration
IDalamudTextureWrap CreateWrapSharingLowLevelResource()
Returns

Dalamud.Interface.Textures.TextureWraps.IDalamudTextureWrap: The new reference to this texture wrap.