This section lists all of the NuGraf `C' Interface function calls
and provides a brief synopsis of each function. Functions which use the variable-length
parameter passing convention are listed with ellipses in their respective argument lists.
Note that although this function list is rather short each function can take from one to
hundreds of different parameters (as in the case with the functions listed in section
2.1).
2.1 Database Definition & Update Routines
These core routines form the backbone of the NuGraf 'C' interface.
They use the variable-length token/data parameter passing protocol to pass modeling and
rendering data into the hierarchical database and to make selections of runtime
parameters. There are several hundred sub-options to these commands.
Ni_Atmosphere(...)
Select atmospheric shaders
and their parameters.
Ni_Background(...)
Set the background color
scheme and its attributes.
Ni_Camera(...)
Update/define a camera and
its parameters.
Ni_Light(...)
Update/define a light
source and its parameters.
Ni_Surface(...)
Update/define a
surface/material and its attributes.
Ni_Texture(...)
Update/define a 2D or 3D
texture definition.
Ni_TxtrParam(...)
Update the texture
parameterization of an instance/object.
Ni_Option(...)
Set renderer runtime
options.
Ni_Output_Driver(...)
Output driver selection or
creation (predefined or custom).