effect_load(MATERIAL* mtl,STRING* name) : void*
Loads an effect file into the given material.
Parameters:
mtl
Material pointer
name
Filename of the
.fx
or
.fxo
file, or NULL for reloading the current material effect.
Returns:
Pointer to the compiled
LPD3DXEFFECT
.
A8.04
Edition:
C
P
Example:
effect_load(mtl_bump,"specularbump.fx");
See also:
material
,
shaders
,
shader predefined variables
,
effect_cpy
► latest version online