Blender  V3.3
Public Member Functions | Public Attributes | List of all members
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 34 of file patch_table.h.

Member Function Documentation

◆ copy_adjusting_offsets()

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

Definition at line 240 of file patch_table.cpp.

References dest, num_indices, and src.

Referenced by GeometryManager::device_update_mesh().

◆ pack()

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

Definition at line 178 of file patch_table.cpp.

References data, indices, num_indices, offset, PATCH_ARRAY_SIZE, PATCH_PARAM_SIZE, and void.

Referenced by Mesh::tessellate().

◆ total_size()

CCL_NAMESPACE_BEGIN size_t PackedPatchTable::total_size ( )

Member Data Documentation

◆ num_arrays

size_t PackedPatchTable::num_arrays

Definition at line 37 of file patch_table.h.

◆ num_indices

size_t PackedPatchTable::num_indices

Definition at line 38 of file patch_table.h.

◆ num_nodes

size_t PackedPatchTable::num_nodes

Definition at line 40 of file patch_table.h.

Referenced by ObjectManager::device_update_geom_offsets().

◆ num_patches

size_t PackedPatchTable::num_patches

Definition at line 39 of file patch_table.h.

◆ table

array<uint> PackedPatchTable::table

Definition at line 35 of file patch_table.h.


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