Add SDL_SetGPUBlendConstants, SDL_SetGPUStencilReference (#10704)

This commit is contained in:
Caleb Cornett
2024-09-05 17:41:23 -05:00
committed by GitHub
parent 04a732881a
commit 2d4eb29c37
10 changed files with 383 additions and 189 deletions

View File

@@ -778,8 +778,10 @@ SDL3_0.0.0 {
SDL_SetEventEnabled;
SDL_SetEventFilter;
SDL_SetFloatProperty;
SDL_SetGPUBlendConstants;
SDL_SetGPUBufferName;
SDL_SetGPUScissor;
SDL_SetGPUStencilReference;
SDL_SetGPUSwapchainParameters;
SDL_SetGPUTextureName;
SDL_SetGPUViewport;

View File

@@ -803,8 +803,10 @@
#define SDL_SetEventEnabled SDL_SetEventEnabled_REAL
#define SDL_SetEventFilter SDL_SetEventFilter_REAL
#define SDL_SetFloatProperty SDL_SetFloatProperty_REAL
#define SDL_SetGPUBlendConstants SDL_SetGPUBlendConstants_REAL
#define SDL_SetGPUBufferName SDL_SetGPUBufferName_REAL
#define SDL_SetGPUScissor SDL_SetGPUScissor_REAL
#define SDL_SetGPUStencilReference SDL_SetGPUStencilReference_REAL
#define SDL_SetGPUSwapchainParameters SDL_SetGPUSwapchainParameters_REAL
#define SDL_SetGPUTextureName SDL_SetGPUTextureName_REAL
#define SDL_SetGPUViewport SDL_SetGPUViewport_REAL

View File

@@ -813,8 +813,10 @@ SDL_DYNAPI_PROC(SDL_bool,SDL_SetCursor,(SDL_Cursor *a),(a),return)
SDL_DYNAPI_PROC(void,SDL_SetEventEnabled,(Uint32 a, SDL_bool b),(a,b),)
SDL_DYNAPI_PROC(void,SDL_SetEventFilter,(SDL_EventFilter a, void *b),(a,b),)
SDL_DYNAPI_PROC(SDL_bool,SDL_SetFloatProperty,(SDL_PropertiesID a, const char *b, float c),(a,b,c),return)
SDL_DYNAPI_PROC(void,SDL_SetGPUBlendConstants,(SDL_GPURenderPass *a, SDL_FColor b),(a,b),)
SDL_DYNAPI_PROC(void,SDL_SetGPUBufferName,(SDL_GPUDevice *a, SDL_GPUBuffer *b, const char *c),(a,b,c),)
SDL_DYNAPI_PROC(void,SDL_SetGPUScissor,(SDL_GPURenderPass *a, const SDL_Rect *b),(a,b),)
SDL_DYNAPI_PROC(void,SDL_SetGPUStencilReference,(SDL_GPURenderPass *a, Uint8 b),(a,b),)
SDL_DYNAPI_PROC(SDL_bool,SDL_SetGPUSwapchainParameters,(SDL_GPUDevice *a, SDL_Window *b, SDL_GPUSwapchainComposition c, SDL_GPUPresentMode d),(a,b,c,d),return)
SDL_DYNAPI_PROC(void,SDL_SetGPUTextureName,(SDL_GPUDevice *a, SDL_GPUTexture *b, const char *c),(a,b,c),)
SDL_DYNAPI_PROC(void,SDL_SetGPUViewport,(SDL_GPURenderPass *a, const SDL_GPUViewport *b),(a,b),)