header

July 3, 2019 ยท View on GitHub

The header definition provides the name of each field and the value type. Headers to geometry resources must be uniform across a cache and may only contain fixed-width, single element fields.

cmn::defaultGeometrySchema

Properties

PropertyTypeDescription
propertystringThe name of the property in the header.
typestringThe element type of the header property.
Possible values are:
  • UInt8
  • UInt16
  • UInt32
  • UInt64
  • Int16
  • Int32
  • Int64
  • Float32
  • Float64

Note: properties in bold are required

Examples

Example: Header 3D Object and integrated mesh scene layer

 {
  "property": "vertexCount",
  "type": "UInt32"
}