
Go to the source code of this file.
Classes | |
| struct | SIO2lamp |
Enumerations | |
| enum | SIO2_LAMP_FLAGS { SIO2_LAMP_NO_DIFFUSE = ( 1 << 0 ), SIO2_LAMP_NO_SPECULAR = ( 1 << 1 ) } |
| enum | SIO2_LAMP_TYPE { SIO2_LAMP_LAMP = 0, SIO2_LAMP_SUN, SIO2_LAMP_SPOT, SIO2_LAMP_HEMI, SIO2_LAMP_AREA } |
Functions | |
| SIO2lamp * | sio2LampInit (char *) |
| SIO2lamp * | sio2LampFree (SIO2lamp *) |
| unsigned char | sio2LampLoad (char *, char *, char *) |
| unsigned char | sio2LampRender (SIO2lamp *, unsigned char) |
| void | sio2LampReset (void) |
| void | sio2LampSetAmbient (vec4 *, float) |
| void | sio2LampEnableLighting (void) |
| void | sio2LampDisableLighting (void) |
| enum SIO2_LAMP_FLAGS |
| enum SIO2_LAMP_TYPE |
| void sio2LampDisableLighting | ( | void | ) |
References SIO2::_SIO2state, sio2, SIO2_COLOR_MATERIAL, SIO2_LIGHTING, SIO2_NORMALIZE, and sio2StateDisable().

| void sio2LampEnableLighting | ( | void | ) |
References SIO2::_SIO2state, sio2, SIO2_COLOR_MATERIAL, SIO2_LIGHTING, SIO2_NORMALIZE, and sio2StateEnable().

References SIO2::_SIO2resource, sio2, SIO2_LAMP, and sio2ResourceDel().
Referenced by sio2ResourceUnload().

References SIO2::_SIO2resource, SIO2lamp::_SIO2transform, SIO2lamp::col, SIO2lamp::dst, SIO2lamp::name, sio2, SIO2_LAMP, sio2ResourceAdd(), sio2StringCpy(), sio2TransformLoadIdentity(), vec4::w, vec4::x, vec4::y, and vec4::z.
Referenced by sio2LampLoad().

References SIO2::_SIO2lamp, SIO2lamp::_SIO2transform, SIO2lamp::att1, SIO2lamp::att2, SIO2lamp::col, SIO2transform::dir, SIO2lamp::flags, SIO2lamp::fov, SIO2lamp::iponame, SIO2transform::loc, SIO2lamp::nrg, SIO2lamp::rad, SIO2lamp::sblend, sio2, SIO2_MAX_CHAR, sio2LampInit(), sio2StringCmp(), sio2StringScanf(), SIO2lamp::type, vec4::x, vec3::x, vec4::y, vec3::y, vec4::z, and vec3::z.
Referenced by sio2ResourceCreateDictionary().

References SIO2lamp::_SIO2ipo, SIO2::_SIO2lamp, SIO2ipo::_SIO2transform, SIO2lamp::_SIO2transform, SIO2lamp::att1, SIO2lamp::att2, SIO2lamp::col, SIO2transform::dir, SIO2lamp::dst, SIO2lamp::flags, SIO2lamp::fov, SIO2lamp::index, SIO2transform::loc, SIO2lamp::nrg, SIO2lamp::rad, SIO2transform::rot, SIO2lamp::sblend, sio2, SIO2_LAMP_NO_DIFFUSE, SIO2_LAMP_NO_SPECULAR, SIO2_LAMP_SPOT, SIO2_LAMP_SUN, SIO2_PLAY, sio2IsStateEnabled(), sio2Rotate3D(), sio2Vec3Diff(), SIO2ipo::state, SIO2lamp::type, vec4::w, vec4::x, vec3::x, vec4::y, vec4::z, and vec3::z.
Referenced by sio2ResourceRender().

| void sio2LampReset | ( | void | ) |
References SIO2::_SIO2lamp, sio2, and SIO2_LAMP_MAX.
| void sio2LampSetAmbient | ( | vec4 * | , | |
| float | ||||
| ) |
1.5.6