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.

§Parameters

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

§Availability

This function is available since SDL 3.2.0.