CGGetDisplayTransferByTable

Function CGGetDisplayTransferByTable 

Source
pub unsafe extern "C-unwind" fn CGGetDisplayTransferByTable(
    display: CGDirectDisplayID,
    capacity: u32,
    red_table: *mut CGGammaValue,
    green_table: *mut CGGammaValue,
    blue_table: *mut CGGammaValue,
    sample_count: *mut u32,
) -> 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.
  • sample_count must be a valid pointer or null.