|
@@ -3060,8 +3060,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_PopGPUDebugGroup(
|
|
|
*
|
|
*
|
|
|
* You must not reference the texture after calling this function.
|
|
* You must not reference the texture after calling this function.
|
|
|
*
|
|
*
|
|
|
- * It is safe to pass NULL for `texture`, in that case this function
|
|
|
|
|
- * is a no-op.
|
|
|
|
|
|
|
+ * It is safe to pass NULL for `texture`, in that case this function is a
|
|
|
|
|
+ * no-op.
|
|
|
*
|
|
*
|
|
|
* \param device a GPU context.
|
|
* \param device a GPU context.
|
|
|
* \param texture a texture to be destroyed.
|
|
* \param texture a texture to be destroyed.
|
|
@@ -3077,8 +3077,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUTexture(
|
|
|
*
|
|
*
|
|
|
* You must not reference the sampler after calling this function.
|
|
* You must not reference the sampler after calling this function.
|
|
|
*
|
|
*
|
|
|
- * It is safe to pass NULL for `sampler`, in that case this function
|
|
|
|
|
- * is a no-op.
|
|
|
|
|
|
|
+ * It is safe to pass NULL for `sampler`, in that case this function is a
|
|
|
|
|
+ * no-op.
|
|
|
*
|
|
*
|
|
|
* \param device a GPU context.
|
|
* \param device a GPU context.
|
|
|
* \param sampler a sampler to be destroyed.
|
|
* \param sampler a sampler to be destroyed.
|
|
@@ -3094,8 +3094,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUSampler(
|
|
|
*
|
|
*
|
|
|
* You must not reference the buffer after calling this function.
|
|
* You must not reference the buffer after calling this function.
|
|
|
*
|
|
*
|
|
|
- * It is safe to pass NULL for `buffer`, in that case this function
|
|
|
|
|
- * is a no-op.
|
|
|
|
|
|
|
+ * It is safe to pass NULL for `buffer`, in that case this function is a
|
|
|
|
|
+ * no-op.
|
|
|
*
|
|
*
|
|
|
* \param device a GPU context.
|
|
* \param device a GPU context.
|
|
|
* \param buffer a buffer to be destroyed.
|
|
* \param buffer a buffer to be destroyed.
|
|
@@ -3111,8 +3111,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUBuffer(
|
|
|
*
|
|
*
|
|
|
* You must not reference the transfer buffer after calling this function.
|
|
* You must not reference the transfer buffer after calling this function.
|
|
|
*
|
|
*
|
|
|
- * It is safe to pass NULL for `transfer_buffer`, in that case this
|
|
|
|
|
- * function is a no-op.
|
|
|
|
|
|
|
+ * It is safe to pass NULL for `transfer_buffer`, in that case this function
|
|
|
|
|
+ * is a no-op.
|
|
|
*
|
|
*
|
|
|
* \param device a GPU context.
|
|
* \param device a GPU context.
|
|
|
* \param transfer_buffer a transfer buffer to be destroyed.
|
|
* \param transfer_buffer a transfer buffer to be destroyed.
|
|
@@ -3128,8 +3128,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUTransferBuffer(
|
|
|
*
|
|
*
|
|
|
* You must not reference the compute pipeline after calling this function.
|
|
* You must not reference the compute pipeline after calling this function.
|
|
|
*
|
|
*
|
|
|
- * It is safe to pass NULL for `compute_pipeline`, in that case this
|
|
|
|
|
- * function is a no-op.
|
|
|
|
|
|
|
+ * It is safe to pass NULL for `compute_pipeline`, in that case this function
|
|
|
|
|
+ * is a no-op.
|
|
|
*
|
|
*
|
|
|
* \param device a GPU context.
|
|
* \param device a GPU context.
|
|
|
* \param compute_pipeline a compute pipeline to be destroyed.
|
|
* \param compute_pipeline a compute pipeline to be destroyed.
|
|
@@ -3145,8 +3145,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUComputePipeline(
|
|
|
*
|
|
*
|
|
|
* You must not reference the shader after calling this function.
|
|
* You must not reference the shader after calling this function.
|
|
|
*
|
|
*
|
|
|
- * It is safe to pass NULL for `shader`, in that case this function
|
|
|
|
|
- * is a no-op.
|
|
|
|
|
|
|
+ * It is safe to pass NULL for `shader`, in that case this function is a
|
|
|
|
|
+ * no-op.
|
|
|
*
|
|
*
|
|
|
* \param device a GPU context.
|
|
* \param device a GPU context.
|
|
|
* \param shader a shader to be destroyed.
|
|
* \param shader a shader to be destroyed.
|
|
@@ -3162,8 +3162,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUShader(
|
|
|
*
|
|
*
|
|
|
* You must not reference the graphics pipeline after calling this function.
|
|
* You must not reference the graphics pipeline after calling this function.
|
|
|
*
|
|
*
|
|
|
- * It is safe to pass NULL for `graphics_pipeline`, in that case this
|
|
|
|
|
- * function is a no-op.
|
|
|
|
|
|
|
+ * It is safe to pass NULL for `graphics_pipeline`, in that case this function
|
|
|
|
|
+ * is a no-op.
|
|
|
*
|
|
*
|
|
|
* \param device a GPU context.
|
|
* \param device a GPU context.
|
|
|
* \param graphics_pipeline a graphics pipeline to be destroyed.
|
|
* \param graphics_pipeline a graphics pipeline to be destroyed.
|
|
@@ -4508,8 +4508,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_QueryGPUFence(
|
|
|
*
|
|
*
|
|
|
* You must not reference the fence after calling this function.
|
|
* You must not reference the fence after calling this function.
|
|
|
*
|
|
*
|
|
|
- * It is safe to pass NULL for `fence`, in that case this function
|
|
|
|
|
- * is a no-op.
|
|
|
|
|
|
|
+ * It is safe to pass NULL for `fence`, in that case this function is a no-op.
|
|
|
*
|
|
*
|
|
|
* \param device a GPU context.
|
|
* \param device a GPU context.
|
|
|
* \param fence a fence.
|
|
* \param fence a fence.
|