Blender V4.5
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 alloc ()
 
void copy_to_device_if_modified ()
 

Public Attributes

AttributeTableEntry< float > attr_float
 
AttributeTableEntry< float2attr_float2
 
AttributeTableEntry< packed_float3attr_float3
 
AttributeTableEntry< float4attr_float4
 
AttributeTableEntry< uchar4attr_uchar4
 

Detailed Description

Definition at line 290 of file geometry_attributes.cpp.

Constructor & Destructor Documentation

◆ AttributeTableBuilder()

AttributeTableBuilder::AttributeTableBuilder ( DeviceScene * dscene)
inline

Definition at line 292 of file geometry_attributes.cpp.

Member Function Documentation

◆ add()

◆ alloc()

void AttributeTableBuilder::alloc ( )
inline

◆ copy_to_device_if_modified()

void AttributeTableBuilder::copy_to_device_if_modified ( )
inline

◆ reserve()

Member Data Documentation

◆ attr_float

AttributeTableEntry<float> AttributeTableBuilder::attr_float

Definition at line 301 of file geometry_attributes.cpp.

Referenced by add(), alloc(), copy_to_device_if_modified(), and reserve().

◆ attr_float2

AttributeTableEntry<float2> AttributeTableBuilder::attr_float2

Definition at line 302 of file geometry_attributes.cpp.

Referenced by add(), alloc(), copy_to_device_if_modified(), and reserve().

◆ attr_float3

AttributeTableEntry<packed_float3> AttributeTableBuilder::attr_float3

Definition at line 303 of file geometry_attributes.cpp.

Referenced by add(), alloc(), copy_to_device_if_modified(), and reserve().

◆ attr_float4

AttributeTableEntry<float4> AttributeTableBuilder::attr_float4

Definition at line 304 of file geometry_attributes.cpp.

Referenced by add(), alloc(), copy_to_device_if_modified(), and reserve().

◆ attr_uchar4

AttributeTableEntry<uchar4> AttributeTableBuilder::attr_uchar4

Definition at line 305 of file geometry_attributes.cpp.

Referenced by add(), alloc(), copy_to_device_if_modified(), and reserve().


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