|
Blender V5.0
|
#include "kernel/camera/camera.h"#include "kernel/geom/attribute.h"#include "kernel/geom/curve.h"#include "kernel/geom/motion_triangle.h"#include "kernel/geom/object.h"#include "kernel/geom/point.h"#include "kernel/geom/primitive.h"#include "kernel/geom/triangle.h"#include "kernel/util/differential.h"#include "kernel/util/ies.h"#include "kernel/util/texture_3d.h"#include "util/hash.h"#include "util/transform.h"#include "kernel/osl/osl.h"#include "kernel/osl/services_shared.h"Go to the source code of this file.
Classes | |
| struct | RSDeviceString |
| struct | RSTypeDesc |
Namespaces | |
| namespace | DeviceStrings |
Macros | |
| #define | READ_PATH_STATE(elem) |
| #define READ_PATH_STATE | ( | elem | ) |
Referenced by get_background_attribute().
| ccl_device_forceinline void copy_matrix | ( | ccl_private float * | res, |
| const ProjectionTransform & | tfm ) |
Definition at line 328 of file services_gpu.h.
References ccl_device_forceinline, ccl_private, float4::w, ProjectionTransform::w, float4::x, ProjectionTransform::x, float4::y, ProjectionTransform::y, float4::z, and ProjectionTransform::z.
| ccl_device_forceinline void copy_matrix | ( | ccl_private float * | res, |
| const Transform & | tfm ) |
Definition at line 309 of file services_gpu.h.
References ccl_device_forceinline, ccl_private, float4::w, float4::x, Transform::x, float4::y, Transform::y, float4::z, and Transform::z.
Referenced by osl_get_inverse_matrix(), osl_get_matrix(), and set_attribute_matrix().
| ccl_device_inline bool get_background_attribute | ( | KernelGlobals | kg, |
| ccl_private ShaderGlobals * | sg, | ||
| ccl_private ShaderData * | sd, | ||
| DeviceString | name, | ||
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 591 of file services_gpu.h.
References CAMERA_ORTHOGRAPHIC, camera_world_to_ndc(), ccl_device_inline, ccl_private, differential_from_compact(), differential3::dx, dual< float3 >::dx, differential3::dy, dual< float3 >::dy, kernel_data, name, OBJECT_NONE, PATH_RAY_CAMERA, PATH_RAY_EMISSION, PATH_RAY_SHADOW, READ_PATH_STATE, set_attribute(), state, DeviceStrings::u_ndc, DeviceStrings::u_path_diffuse_depth, DeviceStrings::u_path_glossy_depth, DeviceStrings::u_path_portal_depth, DeviceStrings::u_path_ray_depth, DeviceStrings::u_path_ray_length, DeviceStrings::u_path_transmission_depth, DeviceStrings::u_path_transparent_depth, and dual< float3 >::val.
Referenced by get_object_standard_attribute().
| ccl_device_inline bool get_camera_attribute | ( | ccl_private ShaderGlobals * | sg, |
| KernelGlobals | kg, | ||
| DeviceString | name, | ||
| TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 905 of file services_gpu.h.
References camera_sample_aperture(), ccl_device_inline, ccl_private, kernel_data, make_float2, name, pos, set_attribute(), DeviceStrings::u_aperture_aspect_ratio, DeviceStrings::u_aperture_position, DeviceStrings::u_aperture_size, DeviceStrings::u_focal_distance, DeviceStrings::u_image_resolution, and DeviceStrings::u_sensor_size.
Referenced by osl_get_attribute().
| ccl_device_inline bool get_object_attribute | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| const AttributeDescriptor & | desc, | ||
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 698 of file services_gpu.h.
References ccl_device_inline, ccl_private, get_object_attribute_impl(), NODE_ATTR_FLOAT, NODE_ATTR_FLOAT2, NODE_ATTR_FLOAT3, NODE_ATTR_FLOAT4, NODE_ATTR_MATRIX, NODE_ATTR_RGBA, primitive_attribute_matrix(), set_attribute_matrix(), and AttributeDescriptor::type.
Referenced by get_object_standard_attribute(), and osl_get_attribute().
| ccl_device_inline bool get_object_attribute_impl | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| const AttributeDescriptor & | desc, | ||
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 678 of file services_gpu.h.
References ccl_device_inline, ccl_private, data, primitive_surface_attribute(), and set_attribute().
Referenced by get_object_attribute().
| ccl_device_inline bool get_object_standard_attribute | ( | KernelGlobals | kg, |
| ccl_private ShaderGlobals * | sg, | ||
| ccl_private ShaderData * | sd, | ||
| DeviceString | name, | ||
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 725 of file services_gpu.h.
References ATTR_STD_NORMAL_UNDISPLACED, ATTR_STD_NOT_FOUND, attribute_bump_map_normal(), ccl_device_inline, ccl_private, find_attribute(), get_background_attribute(), get_object_attribute(), hash_uint2_to_float(), name, object_alpha(), object_color(), object_dupli_generated(), object_dupli_uv(), object_location(), object_particle_id(), object_pass_id(), object_random_number(), AttributeDescriptor::offset, particle_age(), particle_angular_velocity(), particle_index(), particle_lifetime(), particle_location(), particle_rotation(), particle_size(), particle_velocity(), PRIMITIVE_CURVE, PRIMITIVE_LAMP, PRIMITIVE_POINT, PRIMITIVE_TRIANGLE, set_attribute(), shader_pass_id(), SHADER_SMOOTH_NORMAL, triangle_smooth_normal_unnormalized(), DeviceStrings::u_bump_map_normal, DeviceStrings::u_curve_random, DeviceStrings::u_curve_tangent_normal, DeviceStrings::u_curve_thickness, DeviceStrings::u_geom_dupli_generated, DeviceStrings::u_geom_dupli_uv, DeviceStrings::u_geom_name, DeviceStrings::u_geom_numpolyvertices, DeviceStrings::u_geom_polyvertices, DeviceStrings::u_geom_trianglevertices, DeviceStrings::u_is_curve, DeviceStrings::u_is_point, DeviceStrings::u_is_smooth, DeviceStrings::u_material_index, DeviceStrings::u_normal_map_normal, DeviceStrings::u_object_alpha, DeviceStrings::u_object_color, DeviceStrings::u_object_index, DeviceStrings::u_object_is_light, DeviceStrings::u_object_location, DeviceStrings::u_object_random, DeviceStrings::u_particle_age, DeviceStrings::u_particle_angular_velocity, DeviceStrings::u_particle_index, DeviceStrings::u_particle_lifetime, DeviceStrings::u_particle_location, DeviceStrings::u_particle_random, DeviceStrings::u_particle_rotation, DeviceStrings::u_particle_size, DeviceStrings::u_particle_velocity, DeviceStrings::u_point_position, DeviceStrings::u_point_radius, and DeviceStrings::u_point_random.
Referenced by osl_get_attribute().
| ccl_device_extern ccl_private OSLClosure * osl_add_closure_closure | ( | ccl_private ShaderGlobals * | sg, |
| ccl_private OSLClosure * | a, | ||
| ccl_private OSLClosure * | b ) |
Definition at line 205 of file services_gpu.h.
References b, ccl_device_extern, ccl_private, and OSL_CLOSURE_ADD_ID.
| ccl_device_extern ccl_private OSLClosure * osl_allocate_closure_component | ( | ccl_private ShaderGlobals * | sg, |
| const int | id, | ||
| const int | size ) |
Definition at line 232 of file services_gpu.h.
References ccl_device_extern, ccl_private, one_float3(), and size().
| ccl_device_extern ccl_private OSLClosure * osl_allocate_weighted_closure_component | ( | ccl_private ShaderGlobals * | sg, |
| const int | id, | ||
| const int | size, | ||
| const ccl_private float3 * | weight ) |
Definition at line 250 of file services_gpu.h.
References ccl_device_extern, ccl_private, and size().
| ccl_device_extern void osl_error | ( | ccl_private ShaderGlobals * | sg, |
| DeviceString | format, | ||
| void * | args ) |
Definition at line 270 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_fprintf | ( | ccl_private ShaderGlobals * | sg, |
| DeviceString | filename, | ||
| DeviceString | format, | ||
| void * | args ) |
Definition at line 280 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern bool osl_get_attribute | ( | ccl_private ShaderGlobals * | sg, |
| const int | derivatives, | ||
| DeviceString | object_name, | ||
| DeviceString | name, | ||
| const int | array_lookup, | ||
| const int | index, | ||
| const TypeDesc | type, | ||
| ccl_private void * | res ) |
Definition at line 938 of file services_gpu.h.
References DeviceStrings::_emptystring_, ATTR_STD_NOT_FOUND, ccl_device_extern, ccl_private, find_attribute(), get_camera_attribute(), get_object_attribute(), get_object_standard_attribute(), name, and AttributeDescriptor::offset.
| ccl_device_extern bool osl_get_inverse_matrix | ( | ccl_private ShaderGlobals * | sg, |
| ccl_private float * | res, | ||
| DeviceString | to ) |
Definition at line 387 of file services_gpu.h.
References ccl_device_extern, ccl_private, copy_matrix(), kernel_data, object_get_inverse_transform(), OBJECT_NONE, projection_identity(), DeviceStrings::u_camera, DeviceStrings::u_common, DeviceStrings::u_ndc, DeviceStrings::u_object, DeviceStrings::u_raster, DeviceStrings::u_screen, DeviceStrings::u_shader, and DeviceStrings::u_world.
| ccl_device_extern bool osl_get_matrix | ( | ccl_private ShaderGlobals * | sg, |
| ccl_private float * | res, | ||
| DeviceString | from ) |
Definition at line 348 of file services_gpu.h.
References ccl_device_extern, ccl_private, copy_matrix(), kernel_data, object_get_transform(), OBJECT_NONE, projection_identity(), DeviceStrings::u_camera, DeviceStrings::u_common, DeviceStrings::u_ndc, DeviceStrings::u_object, DeviceStrings::u_raster, DeviceStrings::u_screen, DeviceStrings::u_shader, and DeviceStrings::u_world.
| ccl_device_extern void osl_init_trace_options | ( | ccl_private void * | oec, |
| ccl_private void * | opt ) |
Definition at line 1318 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern ccl_private OSLClosure * osl_mul_closure_color | ( | ccl_private ShaderGlobals * | sg, |
| ccl_private OSLClosure * | a, | ||
| const ccl_private float3 * | weight ) |
Definition at line 151 of file services_gpu.h.
References ccl_device_extern, ccl_private, one_float3(), OSL_CLOSURE_MUL_ID, and zero_float3().
| ccl_device_extern ccl_private OSLClosure * osl_mul_closure_float | ( | ccl_private ShaderGlobals * | sg, |
| ccl_private OSLClosure * | a, | ||
| const float | weight ) |
Definition at line 178 of file services_gpu.h.
References ccl_device_extern, ccl_private, make_float3(), and OSL_CLOSURE_MUL_ID.
| ccl_device_extern void osl_printf | ( | ccl_private ShaderGlobals * | sg, |
| DeviceString | format, | ||
| void * | args ) |
Definition at line 272 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern uint osl_range_check_err | ( | const int | indexvalue, |
| const int | length, | ||
| DeviceString | symname, | ||
| ccl_private ShaderGlobals * | sg, | ||
| DeviceString | sourcefile, | ||
| const int | sourceline, | ||
| DeviceString | groupname, | ||
| const int | layer, | ||
| DeviceString | layername, | ||
| DeviceString | shadername ) |
Definition at line 287 of file services_gpu.h.
References ccl_device_extern, ccl_private, length(), printf, and result.
| ccl_device_extern int osl_texture_decode_wrapmode | ( | DeviceString | name_ | ) |
Definition at line 1223 of file services_gpu.h.
References ccl_device_extern.
| ccl_device_extern void osl_texture_set_fill | ( | ccl_private OSLTextureOptions * | opt, |
| const float | fill ) |
Definition at line 1284 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_firstchannel | ( | ccl_private OSLTextureOptions * | opt, |
| const int | firstchannel ) |
Definition at line 1218 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_interp_code | ( | ccl_private OSLTextureOptions * | opt, |
| const int | mode ) |
Definition at line 1292 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_missingcolor_alpha | ( | ccl_private OSLTextureOptions * | opt, |
| const int | nchannels, | ||
| const float | alpha ) |
Definition at line 1312 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_missingcolor_arena | ( | ccl_private OSLTextureOptions * | opt, |
| ccl_private float3 * | color ) |
Definition at line 1307 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_rblur | ( | ccl_private OSLTextureOptions * | opt, |
| const float | blur ) |
Definition at line 1256 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_rwidth | ( | ccl_private OSLTextureOptions * | opt, |
| const float | width ) |
Definition at line 1274 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_rwrap_code | ( | ccl_private OSLTextureOptions * | opt, |
| const int | mode ) |
Definition at line 1238 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_sblur | ( | ccl_private OSLTextureOptions * | opt, |
| const float | blur ) |
Definition at line 1248 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_stblur | ( | ccl_private OSLTextureOptions * | opt, |
| const float | blur ) |
Definition at line 1260 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_stwidth | ( | ccl_private OSLTextureOptions * | opt, |
| const float | width ) |
Definition at line 1279 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_stwrap_code | ( | ccl_private OSLTextureOptions * | opt, |
| const int | mode ) |
Definition at line 1243 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_subimage | ( | ccl_private OSLTextureOptions * | opt, |
| const int | subimage ) |
Definition at line 1297 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_subimagename | ( | ccl_private OSLTextureOptions * | opt, |
| DeviceString | subimagename_ ) |
Definition at line 1302 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_swidth | ( | ccl_private OSLTextureOptions * | opt, |
| const float | width ) |
Definition at line 1264 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_swrap_code | ( | ccl_private OSLTextureOptions * | opt, |
| const int | mode ) |
Definition at line 1228 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_tblur | ( | ccl_private OSLTextureOptions * | opt, |
| const float | blur ) |
Definition at line 1252 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_time | ( | ccl_private OSLTextureOptions * | opt, |
| const float | time ) |
Definition at line 1288 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_twidth | ( | ccl_private OSLTextureOptions * | opt, |
| const float | width ) |
Definition at line 1269 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_texture_set_twrap_code | ( | ccl_private OSLTextureOptions * | opt, |
| const int | mode ) |
Definition at line 1233 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern void osl_trace_set_maxdist | ( | ccl_private void * | opt, |
| float | x ) |
Definition at line 1322 of file services_gpu.h.
References ccl_device_extern, ccl_private, and x.
| ccl_device_extern void osl_trace_set_mindist | ( | ccl_private void * | opt, |
| float | x ) |
Definition at line 1320 of file services_gpu.h.
References ccl_device_extern, ccl_private, and x.
| ccl_device_extern void osl_trace_set_shade | ( | ccl_private void * | opt, |
| int | x ) |
Definition at line 1324 of file services_gpu.h.
References ccl_device_extern, ccl_private, and x.
| ccl_device_extern void osl_trace_set_traceset | ( | ccl_private void * | opt, |
| const DeviceString | x ) |
Definition at line 1326 of file services_gpu.h.
References ccl_device_extern, ccl_private, and x.
| ccl_device_extern void osl_warning | ( | ccl_private ShaderGlobals * | sg, |
| DeviceString | format, | ||
| void * | args ) |
Definition at line 276 of file services_gpu.h.
References ccl_device_extern, and ccl_private.
| ccl_device_extern bool rend_get_userdata | ( | RSDeviceString | name, |
| ccl_private void * | data, | ||
| int | data_size, | ||
| const RSTypeDesc & | type, | ||
| int | index ) |
Definition at line 988 of file services_gpu.h.
References RSTypeDesc::basetype, ccl_device_extern, ccl_private, data, kernel_assert, name, and DeviceStrings::u_colorsystem.
| ccl_device_extern bool rs_environment | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | filename, | ||
| ccl_private void * | texture_handle, | ||
| ccl_private void * | texture_thread_info, | ||
| ccl_private OSLTextureOptions * | opt, | ||
| const ccl_private float3 * | R, | ||
| const ccl_private float3 * | dRdx, | ||
| const ccl_private float3 * | dRdy, | ||
| const int | nchannels, | ||
| ccl_private float * | result, | ||
| ccl_private float * | dresultds, | ||
| ccl_private float * | dresultdt, | ||
| ccl_private void * | errormessage ) |
Definition at line 1097 of file services_gpu.h.
References ccl_device_extern, ccl_private, R, and result.
| ccl_device_extern bool rs_get_texture_info | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | filename, | ||
| ccl_private void * | texture_handle, | ||
| ccl_private void * | texture_thread_info, | ||
| int | subimage, | ||
| RSDeviceString | dataname, | ||
| RSTypeDesc | datatype, | ||
| ccl_private void * | data, | ||
| ccl_private void * | errormessage ) |
Definition at line 1127 of file services_gpu.h.
References ccl_device_extern, ccl_private, and data.
| ccl_device_extern bool rs_get_texture_info_st | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | filename, | ||
| ccl_private void * | texture_handle, | ||
| const float | s, | ||
| const float | t, | ||
| ccl_private void * | texture_thread_info, | ||
| int | subimage, | ||
| RSDeviceString | dataname, | ||
| RSTypeDesc | datatype, | ||
| ccl_private void * | data, | ||
| ccl_private void * | errormessage ) |
Definition at line 1140 of file services_gpu.h.
References ccl_device_extern, ccl_private, and data.
| ccl_device_extern int rs_pointcloud_get | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | filename, | ||
| const ccl_private int * | indices, | ||
| int | count, | ||
| RSDeviceString | attr_name, | ||
| RSTypeDesc | attr_type, | ||
| ccl_private void * | out_data ) |
Definition at line 1168 of file services_gpu.h.
References ccl_device_extern, ccl_private, count, and indices.
| ccl_device_extern int rs_pointcloud_search | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | filename, | ||
| const ccl_private float3 * | center, | ||
| float | radius, | ||
| int | max_points, | ||
| bool | sort, | ||
| ccl_private int * | out_indices, | ||
| ccl_private float * | out_distances, | ||
| int | derivs_offset ) |
Definition at line 1155 of file services_gpu.h.
References ccl_device_extern, ccl_private, and sort().
| ccl_device_extern bool rs_pointcloud_write | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | filename, | ||
| const ccl_private float3 * | pos, | ||
| int | nattribs, | ||
| const ccl_private DeviceString * | names, | ||
| const ccl_private RSTypeDesc * | types, | ||
| const ccl_private void ** | data ) |
Definition at line 1179 of file services_gpu.h.
References ccl_device_extern, ccl_private, data, pos, and types.
| ccl_device_extern bool rs_texture | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | filename, | ||
| ccl_private void * | texture_handle, | ||
| ccl_private void * | texture_thread_info, | ||
| ccl_private OSLTextureOptions * | opt, | ||
| const float | s, | ||
| const float | t, | ||
| const float | dsdx, | ||
| const float | dtdx, | ||
| const float | dsdy, | ||
| const float | dtdy, | ||
| const int | nchannels, | ||
| ccl_private float * | result, | ||
| ccl_private float * | dresultds, | ||
| ccl_private float * | dresultdt, | ||
| ccl_private void * | errormessage ) |
Definition at line 1005 of file services_gpu.h.
References ccl_device_extern, ccl_private, kernel_ies_interp(), kernel_tex_image_interp(), OSL_TEXTURE_HANDLE_SLOT, OSL_TEXTURE_HANDLE_TYPE, OSL_TEXTURE_HANDLE_TYPE_IES, OSL_TEXTURE_HANDLE_TYPE_SVM, result, float4::w, float4::x, float4::y, and float4::z.
| ccl_device_extern bool rs_texture3d | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | filename, | ||
| ccl_private void * | texture_handle, | ||
| ccl_private void * | texture_thread_info, | ||
| ccl_private OSLTextureOptions * | opt, | ||
| const ccl_private float3 * | P, | ||
| const ccl_private float3 * | dPdx, | ||
| const ccl_private float3 * | dPdy, | ||
| const ccl_private float3 * | dPdz, | ||
| const int | nchannels, | ||
| ccl_private float * | result, | ||
| ccl_private float * | dresultds, | ||
| ccl_private float * | dresultdt, | ||
| ccl_private float * | dresultdr, | ||
| ccl_private void * | errormessage ) |
Definition at line 1054 of file services_gpu.h.
References ccl_device_extern, ccl_private, dPdx(), dPdy(), INTERPOLATION_NONE, OSL_TEXTURE_HANDLE_SLOT, OSL_TEXTURE_HANDLE_TYPE, OSL_TEXTURE_HANDLE_TYPE_SVM, P, result, float4::w, float4::x, float4::y, and float4::z.
| ccl_device_extern bool rs_trace | ( | ccl_private ShaderGlobals * | sg, |
| ccl_private void * | options, | ||
| const ccl_private float3 * | P, | ||
| const ccl_private float3 * | dPdx, | ||
| const ccl_private float3 * | dPdy, | ||
| const ccl_private float3 * | R, | ||
| const ccl_private float3 * | dRdx, | ||
| const ccl_private float3 * | dRdy ) |
Definition at line 1190 of file services_gpu.h.
References ccl_device_extern, ccl_private, dPdx(), dPdy(), options, P, and R.
| ccl_device_extern bool rs_trace_get | ( | ccl_private ShaderGlobals * | sg, |
| RSDeviceString | name, | ||
| RSTypeDesc | type, | ||
| ccl_private void * | data, | ||
| bool | derivatives ) |
Definition at line 1202 of file services_gpu.h.
References ccl_device_extern, ccl_private, data, and name.
| ccl_device_template_spec bool set_attribute | ( | const dual1 | v, |
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 428 of file services_gpu.h.
References ccl_device_template_spec, ccl_private, make_float3(), make_float4, set_data_float(), set_data_float3(), set_data_float4(), and v.
Referenced by get_background_attribute(), get_camera_attribute(), get_object_attribute_impl(), get_object_standard_attribute(), and set_attribute().
| ccl_device_template_spec bool set_attribute | ( | const dual2 | v, |
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 456 of file services_gpu.h.
References average(), ccl_device_template_spec, ccl_private, make_float3(), make_float4, set_data_float(), set_data_float3(), set_data_float4(), and v.
| ccl_device_template_spec bool set_attribute | ( | const dual3 | v, |
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 483 of file services_gpu.h.
References average(), ccl_device_template_spec, ccl_private, make_float4, set_data_float(), set_data_float3(), set_data_float4(), and v.
| ccl_device_template_spec bool set_attribute | ( | const dual4 | v, |
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 511 of file services_gpu.h.
References average(), ccl_device_template_spec, ccl_private, make_float3(), set_data_float(), set_data_float3(), set_data_float4(), and v.
| ccl_device_template_spec bool set_attribute | ( | const int | i, |
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 564 of file services_gpu.h.
References ccl_device_template_spec, ccl_private, and i.
| ccl_device_inline bool set_attribute | ( | const T | f, |
| const TypeDesc | type, | ||
| bool | derivatives, | ||
| ccl_private void * | val ) |
Definition at line 541 of file services_gpu.h.
References ccl_device_inline, ccl_private, set_attribute(), and T.
| ccl_device_inline bool set_attribute_matrix | ( | const ccl_private Transform & | tfm, |
| const TypeDesc | type, | ||
| ccl_private void * | val ) |
Definition at line 549 of file services_gpu.h.
References ccl_device_inline, ccl_private, and copy_matrix().
Referenced by get_object_attribute().