sdlEndGpuRenderPass function

void sdlEndGpuRenderPass(
  1. Pointer<SdlGpuRenderPass> renderPass
)

Ends the given render pass.

All bound graphics state on the render pass command buffer is unset. The render pass handle is now invalid.

\param render_pass a render pass handle.

\since This function is available since SDL 3.1.3.

extern SDL_DECLSPEC void SDLCALL SDL_EndGPURenderPass( SDL_GPURenderPass *render_pass)

Implementation

void sdlEndGpuRenderPass(Pointer<SdlGpuRenderPass> renderPass) {
  final sdlEndGpuRenderPassLookupFunction = libSdl3.lookupFunction<
      Void Function(Pointer<SdlGpuRenderPass> renderPass),
      void Function(
          Pointer<SdlGpuRenderPass> renderPass)>('SDL_EndGPURenderPass');
  return sdlEndGpuRenderPassLookupFunction(renderPass);
}