Microsoft DirectX 8.0 (C++) |
This section contains reference information for the effect file format. An effect file consists of a set of parameter declarations, followed by descriptions of various techniques.
Technique descriptions have the following syntax. Remember that id must be a valid FourCC code. For information on FourCC codes, see Four-Character Codes (FOURCC).
{type} {id}; {type} {id} = {const}; TECHNIQUE {id} { PASS {id} { {state} = {const}; {state}[{n}] = {const}; {state} = <{id}>; {state}[{n}] = <{id}>; } }