|
Blender V5.3
|
#include <attribute.h>
Public Member Functions | |
| AttributeRequestSet () | |
| ~AttributeRequestSet () | |
| void | add (ustring name) |
| void | add (AttributeStandard std) |
| void | add_name_or_standard (ustring name) |
| void | add (const AttributeRequestSet &reqs) |
| bool | find (ustring name) const |
| bool | find (AttributeStandard std) const |
| size_t | size () const |
| void | clear () |
| bool | modified (const AttributeRequestSet &other) const |
Public Attributes | |
| vector< AttributeRequest > | requests |
Definition at line 294 of file scene/attribute.h.
|
default |
Referenced by add(), modified(), and ~AttributeRequestSet().
|
default |
References add(), add_name_or_standard(), AttributeRequestSet(), clear(), find(), modified(), and size().
| void AttributeRequestSet::add | ( | AttributeStandard | std | ) |
Definition at line 1267 of file attribute.cpp.
References AttributeRequest::AttributeRequest(), and requests.
| void AttributeRequestSet::add | ( | const AttributeRequestSet & | reqs | ) |
Definition at line 1281 of file attribute.cpp.
References add(), add_name_or_standard(), ATTR_STD_NONE, AttributeRequestSet(), AttributeRequest::name, requests, and AttributeRequest::std.
| void AttributeRequestSet::add | ( | ustring | name | ) |
Definition at line 1256 of file attribute.cpp.
References ATTR_STD_NONE, AttributeRequest::AttributeRequest(), and requests.
Referenced by add(), add_name_or_standard(), AttributeNode::attributes(), EnvironmentTextureNode::attributes(), GeometryNode::attributes(), GlassBsdfNode::attributes(), GlossyBsdfNode::attributes(), HairInfoNode::attributes(), ImageTextureNode::attributes(), MetallicBsdfNode::attributes(), NormalMapNode::attributes(), OSLNode::attributes(), ParticleInfoNode::attributes(), PointInfoNode::attributes(), PrincipledBsdfNode::attributes(), PrincipledHairBsdfNode::attributes(), PrincipledVolumeNode::attributes(), ShaderNode::attributes(), TangentNode::attributes(), TextureCoordinateNode::attributes(), UVMapNode::attributes(), VectorDisplacementNode::attributes(), VertexColorNode::attributes(), VolumeInfoNode::attributes(), GeometryManager::device_update_attributes(), Scene::need_global_attributes(), Shader::tag_update(), and ~AttributeRequestSet().
| void AttributeRequestSet::add_name_or_standard | ( | ustring | name | ) |
Definition at line 1296 of file attribute.cpp.
References add(), ATTR_STD_NONE, ATTR_STD_UV, ATTR_STD_UV_TANGENT, ATTR_STD_UV_TANGENT_SIGN, ATTR_STD_UV_TANGENT_SIGN_UNDISPLACED, ATTR_STD_UV_TANGENT_UNDISPLACED, AttributeRequest::AttributeRequest(), find(), Attribute::name_standard(), requests, and string_endswith().
Referenced by add(), AttributeNode::attributes(), PrincipledVolumeNode::attributes(), VertexColorNode::attributes(), RaycastNode::global_attributes(), and ~AttributeRequestSet().
| void AttributeRequestSet::clear | ( | ) |
Definition at line 1355 of file attribute.cpp.
References requests.
Referenced by Shader::tag_update(), and ~AttributeRequestSet().
| bool AttributeRequestSet::find | ( | AttributeStandard | std | ) | const |
Definition at line 1339 of file attribute.cpp.
References requests.
| bool AttributeRequestSet::find | ( | ustring | name | ) | const |
Definition at line 1328 of file attribute.cpp.
References requests.
Referenced by add_name_or_standard(), GeometryManager::device_update_attributes(), Geometry::need_attribute(), Geometry::need_attribute(), and ~AttributeRequestSet().
| bool AttributeRequestSet::modified | ( | const AttributeRequestSet & | other | ) | const |
Definition at line 1233 of file attribute.cpp.
References AttributeRequestSet(), and requests.
Referenced by Shader::tag_update(), and ~AttributeRequestSet().
| size_t AttributeRequestSet::size | ( | ) | const |
Definition at line 1350 of file attribute.cpp.
References requests.
Referenced by GeometryManager::update_svm_attributes(), and ~AttributeRequestSet().
| vector<AttributeRequest> AttributeRequestSet::requests |
Definition at line 296 of file scene/attribute.h.
Referenced by add(), add(), add(), add_name_or_standard(), clear(), GeometryManager::device_update_attributes(), find(), find(), modified(), size(), and GeometryManager::update_svm_attributes().