sdlEndGpuComputePass function

void sdlEndGpuComputePass(
  1. Pointer<SdlGpuComputePass> computePass
)

Ends the current compute pass.

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

\param compute_pass a compute pass handle.

\since This function is available since SDL 3.1.3.

extern SDL_DECLSPEC void SDLCALL SDL_EndGPUComputePass( SDL_GPUComputePass *compute_pass)

Implementation

void sdlEndGpuComputePass(Pointer<SdlGpuComputePass> computePass) {
  final sdlEndGpuComputePassLookupFunction = libSdl3.lookupFunction<
      Void Function(Pointer<SdlGpuComputePass> computePass),
      void Function(
          Pointer<SdlGpuComputePass> computePass)>('SDL_EndGPUComputePass');
  return sdlEndGpuComputePassLookupFunction(computePass);
}