CGSetDisplayTransferByTable

Function CGSetDisplayTransferByTable 

Source
pub unsafe extern "C-unwind" fn CGSetDisplayTransferByTable(
    display: CGDirectDisplayID,
    table_size: u32,
    red_table: *const CGGammaValue,
    green_table: *const CGGammaValue,
    blue_table: *const CGGammaValue,
) -> CGError
Available on crate features CGDirectDisplay and CGError only.
Expand description

ยงSafety

  • red_table must be a valid pointer or null.
  • green_table must be a valid pointer or null.
  • blue_table must be a valid pointer or null.