Skip to main content

SDL_SetGPUStencilReference

Function SDL_SetGPUStencilReference 

Source
pub unsafe extern "C" fn SDL_SetGPUStencilReference(
    render_pass: *mut SDL_GPURenderPass,
    reference: Uint8,
)
Expand description

Sets the current stencil reference value on a command buffer.

Parameter: render_pass a render pass handle. Parameter: reference the stencil reference value to set.

Available Since: This function is available since SDL 3.2.0.