Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 1.33 KB

textureDefinition.cmn.md

File metadata and controls

60 lines (49 loc) · 1.33 KB

textureDefinition

A texture is a set of images, with some parameters specific to the texture/uv mapping to geometries.

Part of sharedResource that is deprecated with 1.7.

Related:

cmn::sharedResource

Properties

Property Type Description
(identifier) textureDefinitionInfo A texture is a set of images, with some parameters specific to the texture/uv mapping to geometries. Part of sharedResource that is deprecated with 1.7.

Note: properties in bold are required

Note: properties in (parentheses) require a unique identifier

Examples

Example: textureDefinition

 {
  "44": {
    "encoding": [
      "image/jpeg",
      "image/vnd-ms.dds"
    ],
    "wrap": [
      "none",
      "none"
    ],
    "atlas": false,
    "uvSet": "uv0",
    "channels": "rgb",
    "images": [
      {
        "id": "1161930902884843552",
        "size": 512,
        "pixelInWorldUnits": 0,
        "href": [
          "../textures/0_0",
          "../textures/0_0_1"
        ],
        "byteOffset": [
          0,
          0
        ],
        "length": [
          7461,
          174904
        ]
      }
    ]
  }
}