MaterialXLab API  0.0.1
APIs For MaterialXLab Libraries
Loading...
Searching...
No Matches
JsMaterialXglTF.js File Reference

Go to the source code of this file.

Variables

let MTLX_DEFAULT_MATERIAL_NAME
 jsMaterialXglTF
 
let MTLX_NODE_NAME_ATTRIBUTE = 'nodename'
 MTLX_NODE_NAME_ATTRIBUTE.
 
let MTLX_NODEGRAPH_NAME_ATTRIBUTE = 'nodegraph'
 MTLX_NODEGRAPH_NAME_ATTRIBUTE.
 

Variable Documentation

◆ MTLX_DEFAULT_MATERIAL_NAME

let MTLX_DEFAULT_MATERIAL_NAME
Initial value:
= 'MAT_0'
let MTLX_MATERIAL_PREFIX = 'MAT_'
let MTLX_DEFAULT_SHADER_NAME = 'SHD_0'
let MTLX_SHADER_PREFIX = 'SHD_'
let MTLX_INTERFACEINPUT_NAME_ATTRIBUTE = 'interfacename'

jsMaterialXglTF

glTF procedural texturing extension utilities

MTLX_DEFAULT_MATERIAL_NAME

The default MaterialX material name for import if no name is provided. 

Definition at line 11 of file JsMaterialXglTF.js.

◆ MTLX_NODE_NAME_ATTRIBUTE

let MTLX_NODE_NAME_ATTRIBUTE = 'nodename'

MTLX_NODE_NAME_ATTRIBUTE.

The name of the attribute used to indicate a node connection on an input.

Definition at line 42 of file JsMaterialXglTF.js.

◆ MTLX_NODEGRAPH_NAME_ATTRIBUTE

let MTLX_NODEGRAPH_NAME_ATTRIBUTE = 'nodegraph'

MTLX_NODEGRAPH_NAME_ATTRIBUTE.

The name of the attribute used to indicate a nodegraph connection on an input.

Definition at line 48 of file JsMaterialXglTF.js.