mirror of https://github.com/ppy/SDL3-CS.git
Update bindings
This commit is contained in:
parent
f57452fd77
commit
742ac35cbc
|
|
@ -1 +1 @@
|
|||
Subproject commit 29cff6e2645cd7d637c502af11a9e3cf8063ccdf
|
||||
Subproject commit 1fbed16cb0512e08651b99f7b0a6c1db4b0b61c6
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 90e8ee775595fee870325fc11b8e0291d84a8a6b
|
||||
Subproject commit 68e4836aa83830024672b3fb44516d7d307d5602
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit f9566f4dd643cd5dd6e136e4779fe49fa8c4e3d7
|
||||
Subproject commit 7bd8237b55e3c4d76f80968e17205f67a76320c1
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 67eced52533771474d38e38c348eba7c1fc2bbea
|
||||
Subproject commit be945666cab3ad72f42ba19651f7e466cd56bd12
|
||||
|
|
@ -53,6 +53,13 @@ namespace SDL
|
|||
SDL_CAMERA_POSITION_BACK_FACING,
|
||||
}
|
||||
|
||||
public enum SDL_CameraPermissionState
|
||||
{
|
||||
SDL_CAMERA_PERMISSION_STATE_DENIED = -1,
|
||||
SDL_CAMERA_PERMISSION_STATE_PENDING,
|
||||
SDL_CAMERA_PERMISSION_STATE_APPROVED,
|
||||
}
|
||||
|
||||
public static unsafe partial class SDL3
|
||||
{
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
|
|
@ -83,7 +90,7 @@ namespace SDL
|
|||
public static extern SDL_Camera* SDL_OpenCamera(SDL_CameraID instance_id, [NativeTypeName("const SDL_CameraSpec *")] SDL_CameraSpec* spec);
|
||||
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
public static extern int SDL_GetCameraPermissionState(SDL_Camera* camera);
|
||||
public static extern SDL_CameraPermissionState SDL_GetCameraPermissionState(SDL_Camera* camera);
|
||||
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
public static extern SDL_CameraID SDL_GetCameraID(SDL_Camera* camera);
|
||||
|
|
|
|||
|
|
@ -45,6 +45,14 @@ namespace SDL
|
|||
{
|
||||
}
|
||||
|
||||
public enum IMG_AnimationDecoderStatus
|
||||
{
|
||||
IMG_DECODER_STATUS_INVALID = -1,
|
||||
IMG_DECODER_STATUS_OK,
|
||||
IMG_DECODER_STATUS_FAILED,
|
||||
IMG_DECODER_STATUS_COMPLETE,
|
||||
}
|
||||
|
||||
public partial struct IMG_AnimationDecoder
|
||||
{
|
||||
}
|
||||
|
|
@ -309,7 +317,7 @@ namespace SDL
|
|||
|
||||
[DllImport("SDL3_image", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
[return: NativeTypeName("bool")]
|
||||
public static extern SDLBool IMG_AddAnimationEncoderFrame(IMG_AnimationEncoder* encoder, SDL_Surface* surface, [NativeTypeName("Uint64")] ulong pts);
|
||||
public static extern SDLBool IMG_AddAnimationEncoderFrame(IMG_AnimationEncoder* encoder, SDL_Surface* surface, [NativeTypeName("Uint64")] ulong duration);
|
||||
|
||||
[DllImport("SDL3_image", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
[return: NativeTypeName("bool")]
|
||||
|
|
@ -329,7 +337,10 @@ namespace SDL
|
|||
|
||||
[DllImport("SDL3_image", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
[return: NativeTypeName("bool")]
|
||||
public static extern SDLBool IMG_GetAnimationDecoderFrame(IMG_AnimationDecoder* decoder, SDL_Surface** frame, [NativeTypeName("Uint64 *")] ulong* pts);
|
||||
public static extern SDLBool IMG_GetAnimationDecoderFrame(IMG_AnimationDecoder* decoder, SDL_Surface** frame, [NativeTypeName("Uint64 *")] ulong* duration);
|
||||
|
||||
[DllImport("SDL3_image", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
public static extern IMG_AnimationDecoderStatus IMG_GetAnimationDecoderStatus(IMG_AnimationDecoder* decoder);
|
||||
|
||||
[DllImport("SDL3_image", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
[return: NativeTypeName("bool")]
|
||||
|
|
|
|||
Loading…
Reference in New Issue