org.rajawali3d.materials.plugins / IMaterialPlugin

IMaterialPlugin

interface IMaterialPlugin
interface IMaterialPlugin

A material plugin is a container for a vertex and fragment shader. It can be plugged into the Material class so it can be assembled into the main shader. They can be used for skeletal animation, custom vertex animation effects, fragment shader effects, etc. Usage example:


  material.addPlugin(new MyMaterialPlugin());
  

Author
dennis.ippel