materials-for-developers.md 1.1 KB

Materials for developers

Advanced Programmer

This diagram shows the Material interfaces and implementation classes:

media/materials-for-developers-1.png

  • The interface @'Xenko.Rendering.Materials.IMaterialDescriptor' is the root interface for a material description.
  • The @'Xenko.Rendering.Materials.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 @'Xenko.Rendering.Materials.MaterialDescriptor' is the editor-time description of the material before being compiled into a material shader.
  • The @'Xenko.Rendering.Material' class is the runtime material shader generated from the @'Xenko.Rendering.Materials.MaterialDescriptor'

See also