69 void resize(
size_t num_elements);
92 return (float4 *)
data();
97 return (
float *)
data();
134 return (
const float4 *)
data();
139 return (
const float *)
data();
155 void add(
const float &f);
160 void add(
const char *data);
191 void remove(ustring name);
202 void remove(list<Attribute>::iterator it);
204 void resize(
bool reserve_only =
false);
205 void clear(
bool preserve_voxel_data =
false);
222 void tag_modified(
const Attribute &attr);
255 void add(ustring name);
260 bool find(ustring name);
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Gabor Generate Gabor noise Gradient Generate interpolated color and intensity values based on the input vector Magic Generate a psychedelic color texture Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a or normal between and object coordinate space Combine Create a color from its and value channels Color Attribute
vector< AttributeRequest > requests
bool modified(const AttributeRequestSet &other)
void add_standard(ustring name)
AttributeRequest(ustring name_)
AttributeDescriptor subd_desc
Attribute * add(ustring name, TypeDesc type, AttributeElement element)
void update(AttributeSet &&new_attributes)
AttributeSet(AttributeSet &&)=default
list< Attribute > attributes
Attribute * find(ustring name) const
Attribute * find_matching(const Attribute &other)
bool modified(AttrKernelDataType kernel_type) const
void remove(ustring name)
AttributeSet(Geometry *geometry, AttributePrimitive prim)
void resize(bool reserve_only=false)
void clear(bool preserve_voxel_data=false)
static bool same_storage(TypeDesc a, TypeDesc b)
void add_with_weight(void *dst, void *src, float weight)
static AttrKernelDataType kernel_type(const Attribute &attr)
void set(ustring name, TypeDesc type, AttributeElement element)
static AttributeStandard name_standard(const char *name)
const ImageHandle & data_voxel() const
Attribute(const Attribute &other)=delete
const float4 * data_float4() const
void resize(Geometry *geom, AttributePrimitive prim, bool reserve_only)
size_t element_size(Geometry *geom, AttributePrimitive prim) const
void get_uv_tiles(Geometry *geom, AttributePrimitive prim, unordered_set< int > &tiles) const
const float3 * data_float3() const
const float2 * data_float2() const
void set_data_from(Attribute &&other)
const float * data_float() const
Attribute & operator=(const Attribute &other)=delete
void zero_data(void *dst)
static const char * standard_name(AttributeStandard std)
Attribute(Attribute &&other)=default
const Transform * data_transform() const
const char * data() const
size_t buffer_size(Geometry *geom, AttributePrimitive prim) const
ImageHandle & data_voxel()
size_t data_sizeof() const
Transform * data_transform()
local_group_size(16, 16) .push_constant(Type b
#define CCL_NAMESPACE_END
ccl_gpu_kernel_postfix ccl_global KernelWorkTile * tiles