Blender
V3.3
|
#include <attribute.h>
Public Member Functions | |
AttributeRequestSet () | |
~AttributeRequestSet () | |
void | add (ustring name) |
void | add (AttributeStandard std) |
void | add (AttributeRequestSet &reqs) |
void | add_standard (ustring name) |
bool | find (ustring name) |
bool | find (AttributeStandard std) |
size_t | size () |
void | clear () |
bool | modified (const AttributeRequestSet &other) |
Public Attributes | |
vector< AttributeRequest > | requests |
Definition at line 247 of file scene/attribute.h.
AttributeRequestSet::AttributeRequestSet | ( | ) |
Definition at line 838 of file scene/attribute.cpp.
AttributeRequestSet::~AttributeRequestSet | ( | ) |
Definition at line 842 of file scene/attribute.cpp.
void AttributeRequestSet::add | ( | AttributeRequestSet & | reqs | ) |
Definition at line 887 of file scene/attribute.cpp.
References add(), ATTR_STD_NONE, AttributeRequest::name, requests, and AttributeRequest::std.
void AttributeRequestSet::add | ( | AttributeStandard | std | ) |
Definition at line 878 of file scene/attribute.cpp.
References requests, and AttributeRequest::std.
void AttributeRequestSet::add | ( | ustring | name | ) |
Definition at line 867 of file scene/attribute.cpp.
References AttributeRequest::name, and requests.
Referenced by add(), add_standard(), GeometryManager::device_update_attributes(), Scene::need_global_attributes(), and Shader::tag_update().
void AttributeRequestSet::add_standard | ( | ustring | name | ) |
Definition at line 897 of file scene/attribute.cpp.
References add(), and Attribute::name_standard().
void AttributeRequestSet::clear | ( | ) |
Definition at line 936 of file scene/attribute.cpp.
References requests.
Referenced by Shader::tag_update().
bool AttributeRequestSet::find | ( | AttributeStandard | std | ) |
Definition at line 922 of file scene/attribute.cpp.
References requests, and AttributeRequest::std.
bool AttributeRequestSet::find | ( | ustring | name | ) |
Definition at line 913 of file scene/attribute.cpp.
References AttributeRequest::name, and requests.
Referenced by GeometryManager::device_update_attributes(), and Geometry::need_attribute().
bool AttributeRequestSet::modified | ( | const AttributeRequestSet & | other | ) |
Definition at line 846 of file scene/attribute.cpp.
References requests.
Referenced by Shader::tag_update().
size_t AttributeRequestSet::size | ( | ) |
Definition at line 931 of file scene/attribute.cpp.
References requests.
Referenced by GeometryManager::update_svm_attributes().
vector<AttributeRequest> AttributeRequestSet::requests |
Definition at line 249 of file scene/attribute.h.
Referenced by add(), clear(), GeometryManager::device_update_attributes(), find(), modified(), size(), GeometryManager::update_osl_attributes(), and GeometryManager::update_svm_attributes().