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.
STRING* or char*
- This parameter must be set either in the MATERIAL definition or before the effect is loaded the first time. When changing it at runtime, the effect must be loaded again with effect_load.
- If the parameter is not set, the first valid technique is used.
MATERIAL* mtl_blur =
effect = "shadercollection.fx"; // external effect file with many shaders
technique = "blur";
Material, Effect, effect_load
► latest version online