technique

Name of the technique from the effect file to be used in this material. The same effect file can contain several techniques for different materials.

Type:

STRING* or char*

Remarks:

Example:

MATERIAL* mtl_blur =
{
   effect = "shadercollection.fx"; // external effect file with many shaders
   technique = "blur";
}

See also:

Material, Effect, effect_load

► latest version online