sdlSetGpuStencilReference function
Sets the current stencil reference value on a command buffer.
\param render_pass a render pass handle. \param reference the stencil reference value to set.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC void SDLCALL SDL_SetGPUStencilReference( SDL_GPURenderPass *render_pass, Uint8 reference)
Implementation
void sdlSetGpuStencilReference(
Pointer<SdlGpuRenderPass> renderPass, int reference) {
final sdlSetGpuStencilReferenceLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlGpuRenderPass> renderPass, Uint8 reference),
void Function(Pointer<SdlGpuRenderPass> renderPass,
int reference)>('SDL_SetGPUStencilReference');
return sdlSetGpuStencilReferenceLookupFunction(renderPass, reference);
}