Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
Tidy code.
Commit Description:
Tidy code.
using System ;
using System.Numerics ;
using System.Runtime.CompilerServices ;
using System.Text ;
namespace ImGuiNET
{
public unsafe partial struct ImDrawVert
{
public Vector2 pos ;
public Vector2 uv ;
public uint col ;
}
public unsafe partial struct ImDrawVertPtr
{
public ImDrawVert * NativePtr { get ; }
public ImDrawVertPtr ( ImDrawVert * nativePtr ) => NativePtr = nativePtr ;
public ImDrawVertPtr ( IntPtr nativePtr ) => NativePtr = ( ImDrawVert *) nativePtr ;
public static implicit operator ImDrawVertPtr ( ImDrawVert * nativePtr ) => new ImDrawVertPtr ( nativePtr );
public static implicit operator ImDrawVert * ( ImDrawVertPtr wrappedPtr ) => wrappedPtr . NativePtr ;
public static implicit operator ImDrawVertPtr ( IntPtr nativePtr ) => new ImDrawVertPtr ( nativePtr );
public ref Vector2 pos => ref Unsafe . AsRef < Vector2 >(& NativePtr -> pos );
public ref Vector2 uv => ref Unsafe . AsRef < Vector2 >(& NativePtr -> uv );
public ref uint col => ref Unsafe . AsRef < uint >(& NativePtr -> col );
}
}
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings