mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
17
Brutal.ImGui/Manual/Handles/ImDrawListSharedData.cs
Normal file
17
Brutal.ImGui/Manual/Handles/ImDrawListSharedData.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
namespace Brutal.ImGuiApi;
|
||||
|
||||
public record struct ImDrawListSharedData;
|
||||
|
||||
public readonly unsafe struct ImDrawListSharedDataPtr(ImDrawListSharedData* value) : INullable
|
||||
{
|
||||
private readonly ImDrawListSharedData* _value = value;
|
||||
|
||||
public bool IsNull()
|
||||
{
|
||||
return _value == null;
|
||||
}
|
||||
|
||||
public static implicit operator ImDrawListSharedDataPtr(ImDrawListSharedData* value) => new(value);
|
||||
|
||||
public static implicit operator ImDrawListSharedData*(ImDrawListSharedDataPtr wrapper) => wrapper._value;
|
||||
}
|
||||
Loading…
Reference in a new issue