Skip to main content

Interface IDalamudTextureWrap

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

Assembly: Dalamud.dll
Declaration
public interface IDalamudTextureWrap : IDisposable

Properties

Handle

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

Declaration
ImTextureID Handle { get; }

Width

Gets the width of the texture.

Declaration
int Width { get; }

Height

Gets the height of the texture.

Declaration
int Height { get; }

Size

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

Declaration
Vector2 Size { get; }

Methods

CreateWrapSharingLowLevelResource()

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

Declaration
IDalamudTextureWrap CreateWrapSharingLowLevelResource()
Returns

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