Blender V5.0
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< floatattr_float
AttributeTableEntry< float2attr_float2
AttributeTableEntry< packed_float3attr_float3
AttributeTableEntry< float4attr_float4
AttributeTableEntry< uchar4attr_uchar4

Detailed Description

Definition at line 292 of file geometry_attributes.cpp.

Constructor & Destructor Documentation

◆ AttributeTableBuilder()

AttributeTableBuilder::AttributeTableBuilder ( DeviceScene * dscene)
inline

Definition at line 294 of file geometry_attributes.cpp.

References attr_float, attr_float2, attr_float3, attr_float4, and attr_uchar4.

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

◆ attr_float2

AttributeTableEntry<float2> AttributeTableBuilder::attr_float2

◆ attr_float3

AttributeTableEntry<packed_float3> AttributeTableBuilder::attr_float3

◆ attr_float4

AttributeTableEntry<float4> AttributeTableBuilder::attr_float4

◆ attr_uchar4

AttributeTableEntry<uchar4> AttributeTableBuilder::attr_uchar4

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