Skip to main content

ghostty_render_state_set

Function ghostty_render_state_set 

Source
pub unsafe extern "C" fn ghostty_render_state_set(
    state: RenderState,
    option: Type,
    value: *const c_void,
) -> Type
Expand description

Set an option on a render state.

The value pointer must point to a value of the type corresponding to the requested option kind (see GhosttyRenderStateOption).

       GHOSTTY_INVALID_VALUE)
    `value` is NULL