setStencilReference method

void setStencilReference(
  1. int reference
)

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.2.0.

extern SDL_DECLSPEC void SDLCALL SDL_SetGPUStencilReference( SDL_GPURenderPass *render_pass, Uint8 reference)

Implementation

void setStencilReference(int reference) =>
    sdlSetGpuStencilReference(this, reference);