|
Blender V4.3
|
#include "bvh/bvh.h"#include "bvh/bvh2.h"#include "device/device.h"#include "scene/attribute.h"#include "scene/camera.h"#include "scene/geometry.h"#include "scene/hair.h"#include "scene/light.h"#include "scene/mesh.h"#include "scene/object.h"#include "scene/pointcloud.h"#include "scene/scene.h"#include "scene/shader.h"#include "scene/shader_nodes.h"#include "scene/stats.h"#include "scene/volume.h"#include "subd/patch_table.h"#include "subd/split.h"#include "kernel/osl/globals.h"#include "util/foreach.h"#include "util/log.h"#include "util/progress.h"#include "util/task.h"Go to the source code of this file.
Functions | |
| static void | emit_attribute_map_entry (AttributeMap *attr_map, size_t index, uint64_t id, TypeDesc type, const AttributeDescriptor &desc) |
| static void | emit_attribute_map_terminator (AttributeMap *attr_map, size_t index, bool chain, uint chain_link) |
| static void | emit_attribute_mapping (AttributeMap *attr_map, size_t index, uint64_t id, AttributeRequest &req, Geometry *geom) |
| static void | update_attribute_element_size (Geometry *geom, Attribute *mattr, AttributePrimitive prim, size_t *attr_float_size, size_t *attr_float2_size, size_t *attr_float3_size, size_t *attr_float4_size, size_t *attr_uchar4_size) |
|
static |
Definition at line 96 of file geometry_attributes.cpp.
References as_uint(), AttributeDescriptor::element, AttributeMap::element, AttributeDescriptor::flags, AttributeMap::flags, AttributeMap::id, NODE_ATTR_FLOAT, NODE_ATTR_FLOAT2, NODE_ATTR_FLOAT3, NODE_ATTR_FLOAT4, NODE_ATTR_MATRIX, NODE_ATTR_RGBA, AttributeDescriptor::offset, AttributeMap::offset, AttributeMap::type, TypeFloat2(), and TypeRGBA().
Referenced by emit_attribute_mapping().
|
static |
Definition at line 130 of file geometry_attributes.cpp.
References ATTR_PRIM_TYPES, ATTR_STD_NONE, AttributeMap::element, AttributeMap::flags, AttributeMap::id, AttributeMap::offset, and AttributeMap::type.
Referenced by GeometryManager::update_svm_attributes().
|
static |
Definition at line 145 of file geometry_attributes.cpp.
References AttributeRequest::desc, emit_attribute_map_entry(), Geometry::is_mesh(), AttributeRequest::subd_desc, AttributeRequest::subd_type, and AttributeRequest::type.
Referenced by GeometryManager::update_svm_attributes().
|
static |
Definition at line 449 of file geometry_attributes.cpp.
References ATTR_ELEMENT_CORNER_BYTE, ATTR_ELEMENT_VOXEL, Attribute::element, Attribute::element_size(), size(), Attribute::type, TypeFloat2(), and TypeRGBA().
Referenced by GeometryManager::device_update_attributes().