Blender  V2.93
Public Member Functions | Public Attributes | List of all members
PackedPatchTable Struct Reference

#include <subd_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 47 of file subd_patch_table.h.

Member Function Documentation

◆ copy_adjusting_offsets()

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

Definition at line 259 of file subd_patch_table.cpp.

Referenced by GeometryManager::device_update_mesh().

◆ pack()

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

Definition at line 197 of file subd_patch_table.cpp.

References data, indices, PATCH_ARRAY_SIZE, and PATCH_PARAM_SIZE.

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 50 of file subd_patch_table.h.

◆ num_indices

size_t PackedPatchTable::num_indices

Definition at line 51 of file subd_patch_table.h.

◆ num_nodes

size_t PackedPatchTable::num_nodes

Definition at line 53 of file subd_patch_table.h.

Referenced by ObjectManager::device_update_mesh_offsets().

◆ num_patches

size_t PackedPatchTable::num_patches

Definition at line 52 of file subd_patch_table.h.

◆ table

array<uint> PackedPatchTable::table

Definition at line 48 of file subd_patch_table.h.


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