Blender V4.3
float2 Struct Reference

#include <types_float2.h>

Public Member Functions

__forceinline float operator[] (int i) const
__forceinline floatoperator[] (int i)

Public Attributes

float x
float y

Detailed Description

Definition at line 14 of file types_float2.h.

Member Function Documentation

◆ operator[]() [1/2]

__forceinline float & float2::operator[] ( int i)

Definition at line 22 of file types_float2_impl.h.

References __forceinline, operator[](), util_assert, and x.

◆ operator[]() [2/2]

CCL_NAMESPACE_BEGIN __forceinline float float2::operator[] ( int i) const

Definition at line 15 of file types_float2_impl.h.

References __forceinline, operator[](), util_assert, and x.

Referenced by operator[](), and operator[]().

Member Data Documentation

◆ x

float float2::x

Definition at line 15 of file types_float2.h.

Referenced by __anyhit__kernel_optix_local_hit(), __anyhit__kernel_optix_shadow_all_hit(), __closesthit__kernel_optix_hit(), area_light_rect_sample(), average(), background_cdf(), background_light_sample(), background_map_pdf(), background_map_sample(), bake_jitter_barycentric(), blender_camera_from_object(), blender_camera_sync(), blender_camera_view_subset(), blender_camera_viewplane(), bsdf_ashikhmin_shirley_sample(), bsdf_ashikhmin_shirley_sample_first_quadrant(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_sample(), bsdf_sheen_sample(), BVH(), BVH(), camera_sample(), camera_sample_aperture(), camera_sample_panorama(), camera_world_to_ndc(), compute_2d_gabor_noise_cell(), compute_3d_orientation(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCycles< float2 >(), cross(), LightManager::device_update_background(), direction_to_fisheye(), direction_to_fisheye_equisolid(), direction_to_fisheye_lens_polynomial(), dot(), draw_tile(), draw_vectorscope_graticule(), ellipse_sample(), QuadDice::eval_projected(), fabs(), float2_to_float3(), floor(), fmod(), fresnel_iridescence(), Attribute::get_uv_tiles(), MikkMeshWrapper< is_subd >::GetTexCoord(), guiding_bsdf_sample(), guiding_phase_sample(), guiding_record_surface_bounce(), hash_float2_to_float(), hash_float2_to_float2(), hash_float2_to_float3(), integrator_init_from_bake(), intervals_intersect(), is_zero(), light_sample(), max(), microfacet_beckmann_sample_vndf(), microfacet_ggx_sample_vndf(), min(), ObtainCacheParticleUV(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/(), operator/(), operator==(), operator[](), operator[](), order_float2(), phase_draine_sample(), phase_fournier_forand_sample(), phase_henyey_greenstein_sample(), phase_rayleigh_sample(), point_light_mnee_sample_update(), point_light_sample(), point_light_sample_from_intersection(), primitive_uv(), print_float2(), rectangle_sample(), reduce_add(), reduce_max(), reduce_min(), regular_polygon_sample(), sample_cos_hemisphere(), sample_uniform_disk(), sample_uniform_sphere(), EquiangularCubemapFace::sensor_to_direction(), Equirectangular::sensor_to_direction(), FisheyeEquidistant::sensor_to_direction(), FisheyeEquisolid::sensor_to_direction(), MirrorBall::sensor_to_direction(), Spherical::sensor_to_direction(), set_attribute_float2(), EdgeDice::set_vert(), sky_radiance_hosek(), sky_radiance_nishita(), sky_radiance_preetham(), sky_texture_precompute_hosek(), sky_texture_precompute_preetham(), snoise_2d(), strip_draw_context_set_retiming_overlay_visibility(), subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), subd_triangle_attribute_float4(), svm_node_attr(), svm_node_attr_bump_dx(), svm_node_attr_bump_dy(), svm_node_tangent(), svm_node_tex_brick(), svm_node_tex_environment(), svm_node_tex_gabor(), svm_node_tex_image(), svm_node_tex_image_box(), BlenderSync::sync_camera(), TEST(), TEST(), TEST(), triangle_light_sample(), TYPED_TEST(), voronoi_position(), WM_gesture_lasso_modal(), workbench_render_framebuffers_init(), Camera::world_to_raster_size(), and xml_write_node().

◆ y

float float2::y

Definition at line 15 of file types_float2.h.

Referenced by __anyhit__kernel_optix_local_hit(), __anyhit__kernel_optix_shadow_all_hit(), __closesthit__kernel_optix_hit(), area_light_rect_sample(), average(), background_cdf(), background_map_pdf(), background_map_sample(), background_portal_sample(), bake_jitter_barycentric(), blender_camera_from_object(), blender_camera_sync(), blender_camera_view_subset(), blender_camera_viewplane(), bsdf_ashikhmin_shirley_sample(), bsdf_ashikhmin_shirley_sample_first_quadrant(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_sample(), bsdf_sheen_sample(), BVH(), BVH(), camera_sample(), camera_sample_panorama(), camera_world_to_ndc(), compute_2d_gabor_noise_cell(), compute_3d_orientation(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCycles< float2 >(), cross(), LightManager::device_update_background(), direction_to_fisheye(), direction_to_fisheye_equisolid(), direction_to_fisheye_lens_polynomial(), dot(), draw_tile(), draw_vectorscope_graticule(), ellipse_sample(), QuadDice::eval_projected(), fabs(), float2_to_float3(), floor(), fmod(), fresnel_iridescence(), Attribute::get_uv_tiles(), MikkMeshWrapper< is_subd >::GetTexCoord(), guiding_bsdf_sample(), guiding_phase_sample(), guiding_record_surface_bounce(), hash_float2_to_float(), hash_float2_to_float2(), hash_float2_to_float3(), integrator_init_from_bake(), intervals_intersect(), is_zero(), light_sample(), max(), microfacet_beckmann_sample_vndf(), microfacet_ggx_sample_vndf(), min(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/(), operator/(), operator==(), order_float2(), phase_draine_sample(), phase_fournier_forand_sample(), phase_henyey_greenstein_sample(), phase_rayleigh_sample(), point_light_mnee_sample_update(), point_light_sample(), point_light_sample_from_intersection(), primitive_uv(), print_float2(), rectangle_sample(), reduce_add(), reduce_max(), reduce_min(), regular_polygon_sample(), sample_cos_hemisphere(), sample_uniform_disk(), sample_uniform_sphere(), EquiangularCubemapFace::sensor_to_direction(), Equirectangular::sensor_to_direction(), FisheyeEquidistant::sensor_to_direction(), FisheyeEquisolid::sensor_to_direction(), MirrorBall::sensor_to_direction(), Spherical::sensor_to_direction(), set_attribute_float2(), EdgeDice::set_vert(), sky_radiance_hosek(), sky_radiance_nishita(), sky_radiance_preetham(), sky_texture_precompute_hosek(), sky_texture_precompute_preetham(), snoise_2d(), strip_draw_context_set_retiming_overlay_visibility(), subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), subd_triangle_attribute_float4(), svm_node_attr(), svm_node_attr_bump_dx(), svm_node_attr_bump_dy(), svm_node_tangent(), svm_node_tex_brick(), svm_node_tex_environment(), svm_node_tex_gabor(), svm_node_tex_image(), svm_node_tex_image_box(), BlenderSync::sync_camera(), TEST(), TEST(), TEST(), triangle_light_sample(), TYPED_TEST(), voronoi_position(), WM_gesture_lasso_modal(), workbench_render_framebuffers_init(), Camera::world_to_raster_size(), and xml_write_node().


The documentation for this struct was generated from the following files: