Blender V4.5
float2 Struct Reference

#include <types_float2.h>

Public Member Functions

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

Public Attributes

float x
float y

Detailed Description

Definition at line 12 of file types_float2.h.

Member Function Documentation

◆ operator[]() [1/2]

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

Definition at line 29 of file types_float2.h.

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

◆ operator[]() [2/2]

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

Definition at line 22 of file types_float2.h.

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

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

Member Data Documentation

◆ x

float float2::x

Definition at line 13 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_custom(), camera_sample_panorama(), compute_2d_gabor_noise_cell(), compute_3d_orientation(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCycles< float2 >(), cross(), d_gamma_d_h(), LightManager::device_update_background(), direction_to_fisheye_equidistant(), direction_to_fisheye_equisolid(), direction_to_fisheye_lens_polynomial(), disk_to_hemisphere(), dot(), draw_tile(), ED_region_cache_draw_curfra_label(), ellipse_sample(), EdgeDice::eval_projected(), fabs(), floor(), fmod(), fresnel_iridescence(), Attribute::get_uv_tiles(), MikkMeshWrapper::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(), is_zero(), kernel_path_mnee_sample(), light_sample(), make_float3(), make_float3(), SubPatch::map_uv(), max(), microfacet_beckmann_sample_vndf(), microfacet_ggx_sample_vndf(), min(), mnee_newton_solver(), ObtainCacheParticleUV(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/(), operator/(), operator==(), operator>=(), operator[](), operator[](), phase_draine_sample(), phase_fournier_forand_sample(), phase_henyey_greenstein_sample(), phase_rayleigh_sample(), phi_to_h(), 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(), select(), 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(), set_attribute(), EdgeDice::set_vertex(), SubdAttributeInterpolation::setup_attribute_corner_linear(), SubdAttributeInterpolation::setup_attribute_vertex_linear(), sky_radiance_hosek(), sky_radiance_nishita(), sky_radiance_preetham(), sky_texture_precompute_hosek(), sky_texture_precompute_preetham(), snoise_2d(), 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(), to_global(), triangle_light_sample(), TYPED_TEST(), voronoi_position(), WM_gesture_lasso_modal(), workbench_render_framebuffers_init(), and Camera::world_to_raster_size().

◆ y

float float2::y

Definition at line 13 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_custom(), camera_sample_panorama(), compute_2d_gabor_noise_cell(), compute_3d_orientation(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCycles< float2 >(), cross(), d_gamma_d_h(), LightManager::device_update_background(), direction_to_fisheye_equidistant(), direction_to_fisheye_equisolid(), direction_to_fisheye_lens_polynomial(), disk_to_hemisphere(), dot(), draw_tile(), ED_region_cache_draw_curfra_label(), ellipse_sample(), EdgeDice::eval_projected(), fabs(), floor(), fmod(), fresnel_iridescence(), Attribute::get_uv_tiles(), MikkMeshWrapper::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(), is_zero(), kernel_path_mnee_sample(), light_sample(), make_float3(), make_float3(), SubPatch::map_uv(), max(), microfacet_beckmann_sample_vndf(), microfacet_ggx_sample_vndf(), min(), mnee_newton_solver(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/(), operator/(), operator==(), operator>=(), phase_draine_sample(), phase_fournier_forand_sample(), phase_henyey_greenstein_sample(), phase_rayleigh_sample(), phi_to_h(), 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(), select(), 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(), set_attribute(), EdgeDice::set_vertex(), SubdAttributeInterpolation::setup_attribute_corner_linear(), SubdAttributeInterpolation::setup_attribute_vertex_linear(), sky_radiance_hosek(), sky_radiance_nishita(), sky_radiance_preetham(), sky_texture_precompute_hosek(), sky_texture_precompute_preetham(), snoise_2d(), svm_node_attr(), 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(), to_global(), triangle_light_sample(), TYPED_TEST(), voronoi_position(), WM_gesture_lasso_modal(), workbench_render_framebuffers_init(), and Camera::world_to_raster_size().


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