|
Blender V5.3
|
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 () |
Definition at line 307 of file geometry_attributes.cpp.
|
inline |
Definition at line 309 of file geometry_attributes.cpp.
References attr_float, attr_float2, attr_float3, attr_float4, attr_normal, attr_quaternion, attr_spherical_harmonics_rest, attr_uchar4, curve_keys, points, and tri_verts.
|
inline |
Definition at line 338 of file geometry_attributes.cpp.
References AttributeTableEntry< T >::add(), add_position_radius(), ATTR_ELEMENT_CORNER, ATTR_ELEMENT_CURVE, ATTR_ELEMENT_FACE, ATTR_ELEMENT_IS_BYTE, ATTR_ELEMENT_IS_NORMAL, ATTR_ELEMENT_NONE, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VOXEL, attr_float, attr_float2, attr_float3, attr_float4, attr_normal, attr_quaternion, attr_spherical_harmonics_rest, ATTR_STD_POSITION, ATTR_STD_RADIUS, attr_uchar4, Attribute::data(), Attribute::data_voxel(), Attribute::element, AttributeDescriptor::element, Attribute::element_size(), Geometry::is_hair(), Geometry::is_mesh(), Geometry::is_pointcloud(), Geometry::is_volume(), ImageHandle::kernel_id(), Attribute::modified, Attribute::motion, AttributeDescriptor::offset, Geometry::prim_offset, Attribute::std, step, tri_verts, and Attribute::type.
Referenced by GeometryManager::device_update_attributes().
|
inline |
Definition at line 509 of file geometry_attributes.cpp.
References AttributeTableEntry< T >::add(), ATTR_STD_RADIUS, Geometry::attributes, curve_keys, Attribute::data(), Attribute::element, AttributeDescriptor::element, AttributeSet::find(), Attribute::has_motion(), Geometry::is_hair(), Geometry::is_pointcloud(), make_float4, Attribute::modified, AttributeDescriptor::offset, P, points, Geometry::prim_offset, R, Attribute::size, and step.
Referenced by add().
|
inline |
Definition at line 551 of file geometry_attributes.cpp.
References AttributeTableEntry< T >::alloc(), attr_float, attr_float2, attr_float3, attr_float4, attr_normal, attr_quaternion, attr_spherical_harmonics_rest, attr_uchar4, curve_keys, points, and tri_verts.
Referenced by GeometryManager::device_update_attributes().
|
inline |
Definition at line 566 of file geometry_attributes.cpp.
References attr_float, attr_float2, attr_float3, attr_float4, attr_normal, attr_quaternion, attr_spherical_harmonics_rest, attr_uchar4, curve_keys, AttributeTableEntry< T >::data, points, and tri_verts.
Referenced by GeometryManager::device_update_attributes().
|
inline |
Definition at line 463 of file geometry_attributes.cpp.
References ATTR_ELEMENT_IS_BYTE, ATTR_ELEMENT_IS_NORMAL, ATTR_ELEMENT_VOXEL, attr_float, attr_float2, attr_float3, attr_float4, attr_normal, attr_quaternion, attr_spherical_harmonics_rest, ATTR_STD_POSITION, attr_uchar4, Attribute::element, Attribute::element_size(), Attribute::num_motion_steps(), AttributeTableEntry< T >::reserve(), Attribute::std, tri_verts, and Attribute::type.
Referenced by GeometryManager::device_update_attributes().
Definition at line 543 of file geometry_attributes.cpp.
References curve_keys, Attribute::has_motion(), Geometry::is_hair(), points, AttributeTableEntry< T >::reserve(), and Attribute::size.
Referenced by GeometryManager::device_update_attributes().
| AttributeTableEntry<float> AttributeTableBuilder::attr_float |
Definition at line 324 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().
| AttributeTableEntry<float2> AttributeTableBuilder::attr_float2 |
Definition at line 325 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().
| AttributeTableEntry<packed_float3> AttributeTableBuilder::attr_float3 |
Definition at line 326 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().
| AttributeTableEntry<float4> AttributeTableBuilder::attr_float4 |
Definition at line 327 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().
| AttributeTableEntry<packed_normal> AttributeTableBuilder::attr_normal |
Definition at line 329 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().
| AttributeTableEntry<Quaternion> AttributeTableBuilder::attr_quaternion |
Definition at line 330 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().
| AttributeTableEntry<PackedSphericalHarmonicsRest> AttributeTableBuilder::attr_spherical_harmonics_rest |
Definition at line 331 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().
| AttributeTableEntry<uchar4> AttributeTableBuilder::attr_uchar4 |
Definition at line 328 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().
| AttributeTableEntry<float4> AttributeTableBuilder::curve_keys |
Definition at line 335 of file geometry_attributes.cpp.
Referenced by add_position_radius(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve_position_radius().
| AttributeTableEntry<float4> AttributeTableBuilder::points |
Definition at line 336 of file geometry_attributes.cpp.
Referenced by add_position_radius(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve_position_radius().
| AttributeTableEntry<packed_float3> AttributeTableBuilder::tri_verts |
Definition at line 334 of file geometry_attributes.cpp.
Referenced by add(), alloc(), AttributeTableBuilder(), copy_to_device_if_modified(), and reserve().