Blender V4.3
PackedPatchTable Struct Reference

#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< uinttable
size_t num_arrays
size_t num_indices
size_t num_patches
size_t num_nodes

Detailed Description

Definition at line 35 of file patch_table.h.

Member Function Documentation

◆ copy_adjusting_offsets()

void PackedPatchTable::copy_adjusting_offsets ( uint * dest,
int doffset )

Definition at line 241 of file patch_table.cpp.

References num_arrays, num_indices, num_nodes, num_patches, and table.

Referenced by GeometryManager::device_update_mesh().

◆ pack()

void PackedPatchTable::pack ( Far::PatchTable * patch_table,
int offset = 0 )

◆ total_size()

Member Data Documentation

◆ num_arrays

size_t PackedPatchTable::num_arrays

Definition at line 38 of file patch_table.h.

Referenced by copy_adjusting_offsets(), pack(), and total_size().

◆ num_indices

size_t PackedPatchTable::num_indices

Definition at line 39 of file patch_table.h.

Referenced by copy_adjusting_offsets(), pack(), and total_size().

◆ num_nodes

size_t PackedPatchTable::num_nodes

◆ num_patches

size_t PackedPatchTable::num_patches

Definition at line 40 of file patch_table.h.

Referenced by copy_adjusting_offsets(), pack(), and total_size().

◆ table

array<uint> PackedPatchTable::table

Definition at line 36 of file patch_table.h.

Referenced by copy_adjusting_offsets(), and pack().


The documentation for this struct was generated from the following files: