mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
feat: expose Device and WindowHandle on UiBuilder
This commit is contained in:
parent
3fe6e45b68
commit
0cea6ffe10
4 changed files with 21 additions and 3 deletions
|
|
@ -19,6 +19,16 @@ namespace Dalamud.Interface
|
|||
public class UiBuilder : IDisposable {
|
||||
private readonly string namespaceName;
|
||||
|
||||
/// <summary>
|
||||
/// The game's active Direct3D device.
|
||||
/// </summary>
|
||||
public Device Device => this.dalamud.InterfaceManager.Device;
|
||||
|
||||
/// <summary>
|
||||
/// The game's main window handle.
|
||||
/// </summary>
|
||||
public IntPtr WindowHandlePtr => this.dalamud.InterfaceManager.WindowHandlePtr;
|
||||
|
||||
/// <summary>
|
||||
/// The default Dalamud font based on Noto Sans CJK Medium in 17pt - supporting all game languages and icons.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue