| Lib3dsByte lib3ds_io_read_byte | ( | Lib3dsIo * | io | ) |
Read a byte from a file stream.
Definition at line 140 of file io.c.
Referenced by lib3ds_mesh_read().
| Lib3dsDword lib3ds_io_read_dword | ( | Lib3dsIo * | io | ) |
Read a dword from file a stream in little endian format.
Definition at line 173 of file io.c.
Referenced by lib3ds_bool_track_read(), lib3ds_chunk_read(), lib3ds_chunk_read_next(), lib3ds_file_read(), lib3ds_lin1_track_read(), lib3ds_lin3_track_read(), lib3ds_morph_track_read(), and lib3ds_quat_track_read().
| Lib3dsFloat lib3ds_io_read_float | ( | Lib3dsIo * | io | ) |
Read a float from a file stream in little endian format.
Definition at line 250 of file io.c.
Referenced by lib3ds_camera_read(), lib3ds_io_read_rgb(), lib3ds_io_read_vector(), lib3ds_lin1_track_read(), lib3ds_lin3_track_read(), lib3ds_material_read(), lib3ds_mesh_read(), lib3ds_node_read(), lib3ds_quat_track_read(), lib3ds_shadow_read(), lib3ds_tcb_read(), and lib3ds_viewport_read().
| Lib3dsIntb lib3ds_io_read_intb | ( | Lib3dsIo * | io | ) |
Read a signed byte from a file stream.
Definition at line 194 of file io.c.
Referenced by lib3ds_material_read().
| Lib3dsIntd lib3ds_io_read_intd | ( | Lib3dsIo * | io | ) |
Read a signed dword a from file stream in little endian format.
Definition at line 229 of file io.c.
Referenced by lib3ds_bool_track_read(), lib3ds_lin1_track_read(), lib3ds_lin3_track_read(), lib3ds_material_read(), lib3ds_morph_track_read(), lib3ds_quat_track_read(), lib3ds_shadow_read(), and lib3ds_tcb_read().
| Lib3dsIntw lib3ds_io_read_intw | ( | Lib3dsIo * | io | ) |
Read a signed word from a file stream in little endian format.
Definition at line 210 of file io.c.
Referenced by lib3ds_material_read(), lib3ds_shadow_read(), and lib3ds_viewport_read().
| Lib3dsBool lib3ds_io_read_string | ( | Lib3dsIo * | io, | |
| char * | s, | |||
| int | buflen | |||
| ) |
Read a zero-terminated string from a file stream.
| io | IO input handle. | |
| s | The buffer to store the read string. | |
| buflen | Buffer length. |
Definition at line 314 of file io.c.
Referenced by lib3ds_background_read(), lib3ds_material_read(), lib3ds_morph_track_read(), and lib3ds_node_read().
| Lib3dsBool lib3ds_io_read_vector | ( | Lib3dsIo * | io, | |
| Lib3dsVector | v | |||
| ) |
Read a vector from a file stream in little endian format.
| io | IO input handle. | |
| v | The vector to store the data. |
Definition at line 274 of file io.c.
References lib3ds_io_read_float().
Referenced by lib3ds_viewport_read().
| Lib3dsBool lib3ds_io_write_byte | ( | Lib3dsIo * | io, | |
| Lib3dsByte | b | |||
| ) |
Writes a byte into a file stream.
Definition at line 344 of file io.c.
Referenced by lib3ds_mesh_write().
| Lib3dsBool lib3ds_io_write_dword | ( | Lib3dsIo * | io, | |
| Lib3dsDword | d | |||
| ) |
Writes a dword into a little endian file stream.
Definition at line 380 of file io.c.
Referenced by lib3ds_atmosphere_write(), lib3ds_bool_track_write(), lib3ds_chunk_write(), lib3ds_chunk_write_end(), lib3ds_chunk_write_start(), lib3ds_file_write(), lib3ds_lin1_track_write(), lib3ds_lin3_track_write(), and lib3ds_quat_track_write().
| Lib3dsBool lib3ds_io_write_float | ( | Lib3dsIo * | io, | |
| Lib3dsFloat | l | |||
| ) |
Writes a float into a little endian file stream.
Definition at line 460 of file io.c.
Referenced by lib3ds_atmosphere_write(), lib3ds_background_write(), lib3ds_camera_write(), lib3ds_io_write_rgb(), lib3ds_io_write_vector(), lib3ds_lin1_track_write(), lib3ds_material_write(), lib3ds_mesh_write(), lib3ds_node_write(), lib3ds_quat_track_write(), lib3ds_shadow_write(), lib3ds_tcb_write(), and lib3ds_viewport_write().
| Lib3dsBool lib3ds_io_write_intb | ( | Lib3dsIo * | io, | |
| Lib3dsIntb | b | |||
| ) |
| Lib3dsBool lib3ds_io_write_intd | ( | Lib3dsIo * | io, | |
| Lib3dsIntd | d | |||
| ) |
Writes a signed dword into a little endian file stream.
Definition at line 438 of file io.c.
Referenced by lib3ds_shadow_write(), and lib3ds_tcb_write().
| Lib3dsBool lib3ds_io_write_intw | ( | Lib3dsIo * | io, | |
| Lib3dsIntw | w | |||
| ) |
Writes a signed word into a little endian file stream.
Definition at line 418 of file io.c.
Referenced by lib3ds_material_write(), lib3ds_node_write(), lib3ds_shadow_write(), and lib3ds_viewport_write().
| Lib3dsBool lib3ds_io_write_string | ( | Lib3dsIo * | io, | |
| const char * | s | |||
| ) |
Writes a zero-terminated string into a file stream.
Definition at line 518 of file io.c.
Referenced by lib3ds_background_write(), lib3ds_material_write(), and lib3ds_node_write().
| Lib3dsBool lib3ds_io_write_vector | ( | Lib3dsIo * | io, | |
| Lib3dsVector | v | |||
| ) |
Writes a vector into a file stream in little endian format.
Definition at line 484 of file io.c.
References lib3ds_io_write_float().
Referenced by lib3ds_camera_write(), lib3ds_lin3_track_write(), lib3ds_node_write(), lib3ds_quat_track_write(), and lib3ds_viewport_write().
| Lib3dsBool lib3ds_io_write_word | ( | Lib3dsIo * | io, | |
| Lib3dsWord | w | |||
| ) |
Writes a word into a little endian file stream.
Definition at line 360 of file io.c.
Referenced by lib3ds_bool_track_write(), lib3ds_chunk_write(), lib3ds_chunk_write_start(), lib3ds_lin1_track_write(), lib3ds_lin3_track_write(), lib3ds_mesh_write(), lib3ds_node_write(), lib3ds_quat_track_write(), lib3ds_tcb_write(), and lib3ds_viewport_write().
|
|
||
|