Blender V5.3
AttributeTableBuilder Class Reference

Public Member Functions

 AttributeTableBuilder (DeviceScene *dscene)
void add (Geometry *geom, Attribute *mattr, AttributePrimitive prim, TypeDesc &type, AttributeDescriptor &desc)
void reserve (Geometry *geom, Attribute *mattr, AttributePrimitive prim)
void add_position_radius (Geometry *geom, Attribute *attr_P, TypeDesc &type, AttributeDescriptor &desc)
void reserve_position_radius (Geometry *geom, Attribute *attr_P)
void alloc ()
void copy_to_device_if_modified ()

Public Attributes

AttributeTableEntry< float > attr_float
AttributeTableEntry< float2 > attr_float2
AttributeTableEntry< packed_float3 > attr_float3
AttributeTableEntry< float4 > attr_float4
AttributeTableEntry< uchar4 > attr_uchar4
AttributeTableEntry< packed_normal > attr_normal
AttributeTableEntry< Quaternion > attr_quaternion
AttributeTableEntry< PackedSphericalHarmonicsRest > attr_spherical_harmonics_rest
AttributeTableEntry< packed_float3 > tri_verts
AttributeTableEntry< float4 > curve_keys
AttributeTableEntry< float4 > points

Detailed Description

Definition at line 307 of file geometry_attributes.cpp.

Constructor & Destructor Documentation

◆ AttributeTableBuilder()

AttributeTableBuilder::AttributeTableBuilder ( DeviceScene * dscene)
inline

Member Function Documentation

◆ add()

◆ add_position_radius()

◆ alloc()

◆ copy_to_device_if_modified()

◆ reserve()

◆ reserve_position_radius()

void AttributeTableBuilder::reserve_position_radius ( Geometry * geom,
Attribute * attr_P )
inline

Member Data Documentation

◆ attr_float

AttributeTableEntry<float> AttributeTableBuilder::attr_float

◆ attr_float2

AttributeTableEntry<float2> AttributeTableBuilder::attr_float2

◆ attr_float3

AttributeTableEntry<packed_float3> AttributeTableBuilder::attr_float3

◆ attr_float4

AttributeTableEntry<float4> AttributeTableBuilder::attr_float4

◆ attr_normal

AttributeTableEntry<packed_normal> AttributeTableBuilder::attr_normal

◆ attr_quaternion

AttributeTableEntry<Quaternion> AttributeTableBuilder::attr_quaternion

◆ attr_spherical_harmonics_rest

AttributeTableEntry<PackedSphericalHarmonicsRest> AttributeTableBuilder::attr_spherical_harmonics_rest

◆ attr_uchar4

AttributeTableEntry<uchar4> AttributeTableBuilder::attr_uchar4

◆ curve_keys

◆ points

◆ tri_verts

AttributeTableEntry<packed_float3> AttributeTableBuilder::tri_verts

The documentation for this class was generated from the following file: