|
Blender V4.3
|
#include <patch_table.h>
Public Member Functions | |
| size_t | total_size () |
| void | pack (Far::PatchTable *patch_table, int offset=0) |
| void | copy_adjusting_offsets (uint *dest, int doffset) |
Public Attributes | |
| array< uint > | table |
| size_t | num_arrays |
| size_t | num_indices |
| size_t | num_patches |
| size_t | num_nodes |
Definition at line 35 of file patch_table.h.
Definition at line 241 of file patch_table.cpp.
References array< T, alignment >::data(), num_arrays, num_indices, num_nodes, num_patches, and table.
| void PackedPatchTable::pack | ( | Far::PatchTable * | patch_table, |
| int | offset = 0 ) |
Definition at line 179 of file patch_table.cpp.
References array< T, alignment >::data(), data, num_arrays, num_indices, num_nodes, num_patches, PATCH_ARRAY_SIZE, PATCH_PARAM_SIZE, array< T, alignment >::resize(), table, and total_size().
Referenced by Mesh::tessellate().
| CCL_NAMESPACE_BEGIN size_t PackedPatchTable::total_size | ( | ) |
Definition at line 173 of file patch_table.cpp.
References num_arrays, num_indices, num_nodes, num_patches, PATCH_ARRAY_SIZE, PATCH_HANDLE_SIZE, PATCH_NODE_SIZE, and PATCH_PARAM_SIZE.
Referenced by pack().
| size_t PackedPatchTable::num_arrays |
Definition at line 38 of file patch_table.h.
Referenced by copy_adjusting_offsets(), pack(), and total_size().
| size_t PackedPatchTable::num_indices |
Definition at line 39 of file patch_table.h.
Referenced by copy_adjusting_offsets(), pack(), and total_size().
| size_t PackedPatchTable::num_nodes |
Definition at line 41 of file patch_table.h.
Referenced by copy_adjusting_offsets(), pack(), and total_size().
| size_t PackedPatchTable::num_patches |
Definition at line 40 of file patch_table.h.
Referenced by copy_adjusting_offsets(), pack(), and total_size().
Definition at line 36 of file patch_table.h.
Referenced by copy_adjusting_offsets(), and pack().