Carbon


CMVideoCardGamma

Header: CMICCProfile.h

struct CMVideoCardGamma {
    UInt32 tagType; 
    union {
          CMVideoCardGammaTable table; 
      CMVideoCardGammaFormula formula;
    } u;
};

Field descriptions

tagType

A “Video Card Gamma Storage Type” constant that specifies the format of the data currently stored in the union. To determine the type of structure present in a specific instance of the CMVideoCardGamma structure, you test this union tag. If you are setting up a CMVideoCardGamma structure to store video card gamma data, you set tagType to a constant value that identifies the structure type you are using. The possible constant values are described in “Video Card Gamma Storage Type”.

u

A structure of type CMVideoCardGammaTable. If the tagType field has the value cmVideoCardGammaTableType, the CMVideoCardGamma structure’s union field should be treated as a table, as described in CMVideoCardGammaTable.

The ColorSync Manager defines the CMVideoCardGamma data structure to specify the video gamma data to store with a video gamma profile tag. The structure is a union that can store data in either table or formula format.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)