sdlReleaseGpuGraphicsPipeline function
void
sdlReleaseGpuGraphicsPipeline(
- Pointer<
SdlGpuDevice> device, - Pointer<
SdlGpuGraphicsPipeline> graphicsPipeline
Frees the given graphics pipeline as soon as it is safe to do so.
You must not reference the graphics pipeline after calling this function.
\param device a GPU context. \param graphics_pipeline a graphics pipeline to be destroyed.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUGraphicsPipeline( SDL_GPUDevice *device, SDL_GPUGraphicsPipeline *graphics_pipeline)
Implementation
void sdlReleaseGpuGraphicsPipeline(Pointer<SdlGpuDevice> device,
Pointer<SdlGpuGraphicsPipeline> graphicsPipeline) {
final sdlReleaseGpuGraphicsPipelineLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlGpuDevice> device,
Pointer<SdlGpuGraphicsPipeline> graphicsPipeline),
void Function(Pointer<SdlGpuDevice> device,
Pointer<SdlGpuGraphicsPipeline> graphicsPipeline)>(
'SDL_ReleaseGPUGraphicsPipeline');
return sdlReleaseGpuGraphicsPipelineLookupFunction(device, graphicsPipeline);
}