org.rajawali3d.materials / Material / addPlugin

addPlugin

open fun addPlugin(plugin: IMaterialPlugin!): Unit

Add a material plugin. A material plugin is basically a class that contains a vertex shader fragment and a fragment shader fragment. Material plugins can be used for custom shader effects.

Parameters

plugin - IMaterialPlugin!:

open fun addPlugin(plugin: IMaterialPlugin!): Unit

Add a material plugin. A material plugin is basically a class that contains a vertex shader fragment and a fragment shader fragment. Material plugins can be used for custom shader effects.

Parameters

plugin - IMaterialPlugin!: