|
Blender V5.0
|
#include "device/device.h"#include "integrator/shader_eval.h"#include "scene/mesh.h"#include "scene/object.h"#include "scene/scene.h"#include "scene/shader.h"#include "util/progress.h"Go to the source code of this file.
Functions | |
| static CCL_NAMESPACE_BEGIN int | fill_shader_input (const Scene *scene, const Mesh *mesh, const size_t object_index, device_vector< KernelShaderEvalInput > &d_input) |
| static void | read_shader_output (const Scene *scene, Mesh *mesh, const device_vector< float > &d_output) |
|
static |
Definition at line 19 of file mesh_displace.cpp.
References device_vector< T >::data(), Scene::default_surface, DISPLACE_BUMP, Mesh::get_triangle(), Shader::has_displacement, i, in, Mesh::num_triangles(), Geometry::prim_offset, array< T, alignment >::size(), Mesh::Triangle::v, and v.
|
static |
Definition at line 88 of file mesh_displace.cpp.
References ATTR_STD_MOTION_VERTEX_POSITION, Geometry::attributes, device_vector< T >::data(), Attribute::data_float3(), Scene::default_surface, DISPLACE_BUMP, ensure_finite(), AttributeSet::find(), Mesh::get_triangle(), Shader::has_displacement, i, make_float3(), Mesh::num_triangles(), array< T, alignment >::size(), step, and Mesh::Triangle::v.