Quartz Composer - Native Datatypes

Native Datatypes

Data inside QC can be one of the following types:

  • Boolean - a boolean value, 0 or 1
  • Index - a positive integer between 0 and 2147483647
  • Number - a double precision floating point number
  • String - a unicode string
  • Color - an RGBA or CMYK quartet, or a Grayscale value
  • Image - a 2D image of arbitrary (possibly infinite) dimensions
  • Structure - a named or ordered collection of objects, including nested structures
  • Virtual - any of the above

Two additional types were introduced in version 4.0:

  • Mesh - a collection of vertices, and per-vertex normals, texture coordinates, and colors in 3-space
  • Interaction - a valueless type used to associate user input with user-interactive elements of the composition

Read more about this topic:  Quartz Composer

Famous quotes containing the word native:

    Would it not be worth while to discover nature in Milton? be native to the universe? I, too, love Concord best, but I am glad when I discover, in oceans and wildernesses far away, the material of a million Concords: indeed, I am lost, unless I discover them.
    Henry David Thoreau (1817–1862)