org.rajawali3d.materials / Material / getPlugin

getPlugin

open fun getPlugin(pluginClass: Class<*>!): IMaterialPlugin!

Get a material plugin by using its class type. 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

pluginClass - Class<*>!:

Return
IMaterialPlugin!:

open fun getPlugin(pluginClass: Class<*>!): IMaterialPlugin!

Get a material plugin by using its class type. 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

pluginClass - Class<*>!:

Return
IMaterialPlugin!: