Materials for developers

AdvancedProgrammer

This diagram shows the Material interfaces and implementation classes:

media/materials-for-developers-1.png

  • The interface IMaterialDescriptor is the root interface for a material description.
  • The IMaterialShaderGenerator is the main interface used to generate a material shader of the material.
  • Each attribute and layer implements this interface to modify the final material shader.
  • The MaterialDescriptor is the editor-time description of the material before being compiled into a material shader.
  • The Material class is the runtime material shader generated from the MaterialDescriptor

See also