CGSetDisplayTransferByByteTable

Function CGSetDisplayTransferByByteTable 

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

ยงSafety

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