Class: shader

shader to setup blend effects between textures.
See the shdscript manual for more infos.

Hierarchy

o-+ resource
  o-+ shader

Interfaces:

Methods:

Method overview:


defaultpath ([string])
returns: ([string])
returns or sets the default resource path. Luxinia will search in those when resources are not found.
getparamid (shader,string name)
returns: ([shaderparamid])
returns id
getrestype ()
returns: (int restype)
returns the resource type as int value, useful for resdata or reschunk functions
load (string filename)
returns: (shader shd)
loads a shader
param (shader,shaderparamid,[float x,y,z,w])
returns: (float x,y,z,w)
returns or sets a shaderparam value, does nothing when param wasnt found

Inherited Methods:

From resource

condition, getresname, getresshortname