releaseGraphicsPipeline method

void releaseGraphicsPipeline(
  1. 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.

It is safe to pass NULL for graphics_pipeline, in that case this function is a no-op.

\param device a GPU context. \param graphics_pipeline a graphics pipeline to be destroyed.

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUGraphicsPipeline( SDL_GPUDevice *device, SDL_GPUGraphicsPipeline *graphics_pipeline)

See also:

Implementation

void releaseGraphicsPipeline(
  Pointer<SdlGpuGraphicsPipeline> graphicsPipeline,
) => sdlReleaseGpuGraphicsPipeline(this, graphicsPipeline);