#[repr(C)]pub struct CullingResults {}Expand description
Implementations§
Source§impl CullingResults
impl CullingResults
Sourcepub fn get_light_index_count(culling_results_ptr: impl Into<IntPtr>) -> i32
pub fn get_light_index_count(culling_results_ptr: impl Into<IntPtr>) -> i32
GetLightIndexCount(::unity::IntPtr) overload
Sourcepub fn get_reflection_probe_index_count(
culling_results_ptr: impl Into<IntPtr>,
) -> i32
pub fn get_reflection_probe_index_count( culling_results_ptr: impl Into<IntPtr>, ) -> i32
GetReflectionProbeIndexCount(::unity::IntPtr) overload
Sourcepub fn fill_light_and_reflection_probe_indices(
culling_results_ptr: impl Into<IntPtr>,
compute_buffer: impl Into<ComputeBuffer>,
)
pub fn fill_light_and_reflection_probe_indices( culling_results_ptr: impl Into<IntPtr>, compute_buffer: impl Into<ComputeBuffer>, )
FillLightAndReflectionProbeIndices(::unity::IntPtr, crate::unity_engine::computebuffer::ComputeBuffer) overload
Sourcepub fn get_light_index_map_size(culling_results_ptr: impl Into<IntPtr>) -> i32
pub fn get_light_index_map_size(culling_results_ptr: impl Into<IntPtr>) -> i32
GetLightIndexMapSize(::unity::IntPtr) overload
Sourcepub fn fill_light_index_map(
culling_results_ptr: impl Into<IntPtr>,
index_map_ptr: impl Into<IntPtr>,
index_map_size: impl Into<i32>,
)
pub fn fill_light_index_map( culling_results_ptr: impl Into<IntPtr>, index_map_ptr: impl Into<IntPtr>, index_map_size: impl Into<i32>, )
FillLightIndexMap(::unity::IntPtr, ::unity::IntPtr, i32) overload
Sourcepub fn set_light_index_map(
culling_results_ptr: impl Into<IntPtr>,
index_map_ptr: impl Into<IntPtr>,
index_map_size: impl Into<i32>,
)
pub fn set_light_index_map( culling_results_ptr: impl Into<IntPtr>, index_map_ptr: impl Into<IntPtr>, index_map_size: impl Into<i32>, )
SetLightIndexMap(::unity::IntPtr, ::unity::IntPtr, i32) overload
Sourcepub fn get_shadow_caster_bounds(
culling_results_ptr: impl Into<IntPtr>,
light_index: impl Into<i32>,
) -> (bool, Bounds)
pub fn get_shadow_caster_bounds( culling_results_ptr: impl Into<IntPtr>, light_index: impl Into<i32>, ) -> (bool, Bounds)
GetShadowCasterBounds(::unity::IntPtr, i32, *mutcrate::unity_engine::bounds::Bounds) overload
Sourcepub fn compute_spot_shadow_matrices_and_culling_primitives(
culling_results_ptr: impl Into<IntPtr>,
active_light_index: impl Into<i32>,
) -> (bool, Matrix4x4, Matrix4x4, ShadowSplitData)
pub fn compute_spot_shadow_matrices_and_culling_primitives( culling_results_ptr: impl Into<IntPtr>, active_light_index: impl Into<i32>, ) -> (bool, Matrix4x4, Matrix4x4, ShadowSplitData)
ComputeSpotShadowMatricesAndCullingPrimitives(::unity::IntPtr, i32, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::rendering::shadowsplitdata::ShadowSplitData) overload
Sourcepub fn compute_directional_shadow_matrices_and_culling_primitives(
culling_results_ptr: impl Into<IntPtr>,
active_light_index: impl Into<i32>,
split_index: impl Into<i32>,
split_count: impl Into<i32>,
split_ratio: impl Into<Vector3>,
shadow_resolution: impl Into<i32>,
shadow_near_plane_offset: impl Into<f32>,
) -> (bool, Matrix4x4, Matrix4x4, ShadowSplitData)
pub fn compute_directional_shadow_matrices_and_culling_primitives( culling_results_ptr: impl Into<IntPtr>, active_light_index: impl Into<i32>, split_index: impl Into<i32>, split_count: impl Into<i32>, split_ratio: impl Into<Vector3>, shadow_resolution: impl Into<i32>, shadow_near_plane_offset: impl Into<f32>, ) -> (bool, Matrix4x4, Matrix4x4, ShadowSplitData)
ComputeDirectionalShadowMatricesAndCullingPrimitives(::unity::IntPtr, i32, i32, i32, crate::unity_engine::vector3::Vector3, i32, f32, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::rendering::shadowsplitdata::ShadowSplitData) overload
Sourcepub fn compute_directional_shadow_matrices_and_culling_primitives_injected(
culling_results_ptr: impl Into<IntPtr>,
active_light_index: impl Into<i32>,
split_index: impl Into<i32>,
split_count: impl Into<i32>,
shadow_resolution: impl Into<i32>,
shadow_near_plane_offset: impl Into<f32>,
) -> (bool, Vector3, Matrix4x4, Matrix4x4, ShadowSplitData)
pub fn compute_directional_shadow_matrices_and_culling_primitives_injected( culling_results_ptr: impl Into<IntPtr>, active_light_index: impl Into<i32>, split_index: impl Into<i32>, split_count: impl Into<i32>, shadow_resolution: impl Into<i32>, shadow_near_plane_offset: impl Into<f32>, ) -> (bool, Vector3, Matrix4x4, Matrix4x4, ShadowSplitData)
ComputeDirectionalShadowMatricesAndCullingPrimitives_Injected(::unity::IntPtr, i32, i32, i32, *mutcrate::unity_engine::vector3::Vector3, i32, f32, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::rendering::shadowsplitdata::ShadowSplitData) overload
Source§impl CullingResults
impl CullingResults
Sourcepub fn get_light_and_reflection_probe_index_count(&mut self) -> i32
pub fn get_light_and_reflection_probe_index_count(&mut self) -> i32
get_lightAndReflectionProbeIndexCount() overload
Sourcepub fn fill_light_and_reflection_probe_indices_2(
&mut self,
compute_buffer: impl Into<ComputeBuffer>,
)
pub fn fill_light_and_reflection_probe_indices_2( &mut self, compute_buffer: impl Into<ComputeBuffer>, )
FillLightAndReflectionProbeIndices(crate::unity_engine::computebuffer::ComputeBuffer) overload
Sourcepub fn get_shadow_caster_bounds_2(
&mut self,
light_index: impl Into<i32>,
) -> (bool, Bounds)
pub fn get_shadow_caster_bounds_2( &mut self, light_index: impl Into<i32>, ) -> (bool, Bounds)
GetShadowCasterBounds(i32, *mutcrate::unity_engine::bounds::Bounds) overload
Sourcepub fn compute_spot_shadow_matrices_and_culling_primitives_2(
&mut self,
active_light_index: impl Into<i32>,
) -> (bool, Matrix4x4, Matrix4x4, ShadowSplitData)
pub fn compute_spot_shadow_matrices_and_culling_primitives_2( &mut self, active_light_index: impl Into<i32>, ) -> (bool, Matrix4x4, Matrix4x4, ShadowSplitData)
ComputeSpotShadowMatricesAndCullingPrimitives(i32, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::rendering::shadowsplitdata::ShadowSplitData) overload
Sourcepub fn compute_directional_shadow_matrices_and_culling_primitives_2(
&mut self,
active_light_index: impl Into<i32>,
split_index: impl Into<i32>,
split_count: impl Into<i32>,
split_ratio: impl Into<Vector3>,
shadow_resolution: impl Into<i32>,
shadow_near_plane_offset: impl Into<f32>,
) -> (bool, Matrix4x4, Matrix4x4, ShadowSplitData)
pub fn compute_directional_shadow_matrices_and_culling_primitives_2( &mut self, active_light_index: impl Into<i32>, split_index: impl Into<i32>, split_count: impl Into<i32>, split_ratio: impl Into<Vector3>, shadow_resolution: impl Into<i32>, shadow_near_plane_offset: impl Into<f32>, ) -> (bool, Matrix4x4, Matrix4x4, ShadowSplitData)
ComputeDirectionalShadowMatricesAndCullingPrimitives(i32, i32, i32, crate::unity_engine::vector3::Vector3, i32, f32, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::rendering::shadowsplitdata::ShadowSplitData) overload
Sourcepub fn equals(&mut self, other: impl Into<CullingResults>) -> bool
pub fn equals(&mut self, other: impl Into<CullingResults>) -> bool
Equals(crate::unity_engine::rendering::cullingresults::CullingResults) overload
Sourcepub fn equals_2(&mut self, obj: impl Into<Object>) -> bool
pub fn equals_2(&mut self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl CullingResults
impl CullingResults
pub fn get_light_index_count_method_info() -> &'static MethodInfo
pub fn get_reflection_probe_index_count_method_info() -> &'static MethodInfo
pub fn fill_light_and_reflection_probe_indices_method_info() -> &'static MethodInfo
pub fn get_light_index_map_size_method_info() -> &'static MethodInfo
pub fn fill_light_index_map_method_info() -> &'static MethodInfo
pub fn set_light_index_map_method_info() -> &'static MethodInfo
pub fn get_shadow_caster_bounds_method_info() -> &'static MethodInfo
pub fn compute_spot_shadow_matrices_and_culling_primitives_method_info() -> &'static MethodInfo
pub fn compute_directional_shadow_matrices_and_culling_primitives_method_info() -> &'static MethodInfo
pub fn get_light_and_reflection_probe_index_count_method_info() -> &'static MethodInfo
pub fn fill_light_and_reflection_probe_indices_2_method_info() -> &'static MethodInfo
pub fn get_shadow_caster_bounds_2_method_info() -> &'static MethodInfo
pub fn compute_spot_shadow_matrices_and_culling_primitives_2_method_info() -> &'static MethodInfo
pub fn compute_directional_shadow_matrices_and_culling_primitives_2_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn compute_directional_shadow_matrices_and_culling_primitives_injected_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for CullingResults
impl ClassIdentity for CullingResults
Source§impl Clone for CullingResults
impl Clone for CullingResults
Source§fn clone(&self) -> CullingResults
fn clone(&self) -> CullingResults
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CullingResults
Auto Trait Implementations§
impl Freeze for CullingResults
impl RefUnwindSafe for CullingResults
impl Send for CullingResults
impl Sync for CullingResults
impl Unpin for CullingResults
impl UnwindSafe for CullingResults
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)