mirror of https://github.com/ppy/SDL3-CS.git
Update bindings
This commit is contained in:
parent
ab2f57804c
commit
b59358dbf5
|
|
@ -1 +1 @@
|
|||
Subproject commit 1fbed16cb0512e08651b99f7b0a6c1db4b0b61c6
|
||||
Subproject commit 5d9b170a3d5cf7a5d15c3385d07c0f4eb00ae548
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 7bd8237b55e3c4d76f80968e17205f67a76320c1
|
||||
Subproject commit beed06a8c9cd482699f37060431d6a9dcd2210d5
|
||||
|
|
@ -82,6 +82,10 @@ namespace SDL
|
|||
[return: NativeTypeName("Uint32")]
|
||||
public static extern uint SDL_GetAtomicU32(SDL_AtomicU32* a);
|
||||
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
[return: NativeTypeName("Uint32")]
|
||||
public static extern uint SDL_AddAtomicU32(SDL_AtomicU32* a, int v);
|
||||
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
[return: NativeTypeName("bool")]
|
||||
public static extern SDLBool SDL_CompareAndSwapAtomicPointer([NativeTypeName("void **")] IntPtr* a, [NativeTypeName("void*")] IntPtr oldval, [NativeTypeName("void*")] IntPtr newval);
|
||||
|
|
|
|||
|
|
@ -76,11 +76,8 @@ namespace SDL
|
|||
public int refcount;
|
||||
}
|
||||
|
||||
public unsafe partial struct SDL_GPURenderStateDesc
|
||||
public unsafe partial struct SDL_GPURenderStateCreateInfo
|
||||
{
|
||||
[NativeTypeName("Uint32")]
|
||||
public uint version;
|
||||
|
||||
public SDL_GPUShader* fragment_shader;
|
||||
|
||||
[NativeTypeName("Sint32")]
|
||||
|
|
@ -100,6 +97,8 @@ namespace SDL
|
|||
|
||||
[NativeTypeName("SDL_GPUBuffer *const *")]
|
||||
public SDL_GPUBuffer** storage_buffers;
|
||||
|
||||
public SDL_PropertiesID props;
|
||||
}
|
||||
|
||||
public partial struct SDL_GPURenderState
|
||||
|
|
@ -471,7 +470,7 @@ namespace SDL
|
|||
public static extern SDLBool SDL_GetDefaultTextureScaleMode(SDL_Renderer* renderer, SDL_ScaleMode* scale_mode);
|
||||
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
public static extern SDL_GPURenderState* SDL_CreateGPURenderState(SDL_Renderer* renderer, SDL_GPURenderStateDesc* desc);
|
||||
public static extern SDL_GPURenderState* SDL_CreateGPURenderState(SDL_Renderer* renderer, SDL_GPURenderStateCreateInfo* createinfo);
|
||||
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
[return: NativeTypeName("bool")]
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ namespace SDL
|
|||
SDL_FLIP_NONE,
|
||||
SDL_FLIP_HORIZONTAL,
|
||||
SDL_FLIP_VERTICAL,
|
||||
SDL_FLIP_HORIZONTAL_AND_VERTICAL = (SDL_FLIP_HORIZONTAL | SDL_FLIP_VERTICAL),
|
||||
}
|
||||
|
||||
public partial struct SDL_Surface
|
||||
|
|
|
|||
Loading…
Reference in New Issue