Materials

Generated from the schema registry by ernie schema --markdown.

MaterialBindingAPI

Binds a material to a prim and its descendants; material:binding: binds one for a purpose.

API schema

Attribute Type Description Fallback Values Source
material:binding rel The Material the prim and its descendants are drawn with. "" UsdShade
{
  "$schema": "https://alexmaietta.github.io/ernie/schema/ernie-scene.schema.json",
  "prims": {
    "/World/MaterialBindingAPI": {
      "typeName": "Xform",
      "apiSchemas": ["MaterialBindingAPI"]
    }
  }
}

NodeGraph

A network of shaders with inputs its users set and outputs connected inside it.

Prim type

{
  "$schema": "https://alexmaietta.github.io/ernie/schema/ernie-scene.schema.json",
  "prims": {
    "/World/NodeGraph": {
      "typeName": "NodeGraph"
    }
  }
}

Material

What prims are drawn with: its terminals outputs:surface, outputs:displacement and outputs:volume, and Ernie's outputs:ernie:thermal, outputs:ernie:lidar and outputs:ernie:radar, connect to the shaders computing them.

Prim type ยท Inherits NodeGraph

{
  "$schema": "https://alexmaietta.github.io/ernie/schema/ernie-scene.schema.json",
  "prims": {
    "/World/Material": {
      "typeName": "Material"
    }
  }
}

Shader

One node of a network, a model or a texture, by its info:id, with its inputs and outputs.

Prim type

Attribute Type Description Fallback Values Source
info:id token The node it is: UsdPreviewSurface, UsdUVTexture, a primvar reader or an Ernie model. "" UsdShade
info:implementationSource token Where its definition comes from: its id, a source asset or source code. "id" id, sourceAsset, sourceCode UsdShade
info:sourceAsset asset A file defining it, as a MaterialX one. "" UsdShade
info:sourceCode token Code defining it, as a Slang model's. "" UsdShade
{
  "$schema": "https://alexmaietta.github.io/ernie/schema/ernie-scene.schema.json",
  "prims": {
    "/World/Shader": {
      "typeName": "Shader",
      "info:implementationSource": "id"
    }
  }
}