Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMaterialInfo

The basic infos for material initialization.

Hierarchy

  • IMaterialInfo

Index

Properties

Optional defines

The shader macro definitions. Default to 0 or the specified value in EffectAsset.

Optional effectAsset

effectAsset: EffectAsset | null

The EffectAsset to use. Must provide if effectName is not specified.

Optional effectName

effectName: undefined | string

The name of the EffectAsset to use. Must provide if effectAsset is not specified.

Optional states

The override values on top of the pipeline states specified in EffectAsset.

Optional technique

technique: undefined | number

The index of the technique to use.

Generated using TypeDoc