#[repr(C)]pub struct ShadowData {
pub supports_main_light_shadows: bool,
pub requires_screen_space_shadow_resolve: bool,
pub main_light_shadowmap_width: i32,
pub main_light_shadowmap_height: i32,
pub main_light_shadow_cascades_count: i32,
pub main_light_shadow_cascades_split: Vector3,
pub supports_additional_light_shadows: bool,
pub additional_lights_shadowmap_width: i32,
pub additional_lights_shadowmap_height: i32,
pub supports_soft_shadows: bool,
pub shadowmap_depth_buffer_bits: i32,
pub bias: List_1<Vector4>,
}Expand description
Fields§
§supports_main_light_shadows: bool§requires_screen_space_shadow_resolve: bool§main_light_shadowmap_width: i32§main_light_shadowmap_height: i32§main_light_shadow_cascades_count: i32§main_light_shadow_cascades_split: Vector3§supports_additional_light_shadows: bool§additional_lights_shadowmap_width: i32§additional_lights_shadowmap_height: i32§supports_soft_shadows: bool§shadowmap_depth_buffer_bits: i32§bias: List_1<Vector4>Trait Implementations§
Source§impl ClassIdentity for ShadowData
impl ClassIdentity for ShadowData
Source§impl Clone for ShadowData
impl Clone for ShadowData
Source§fn clone(&self) -> ShadowData
fn clone(&self) -> ShadowData
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShadowData
Auto Trait Implementations§
impl Freeze for ShadowData
impl RefUnwindSafe for ShadowData
impl !Send for ShadowData
impl !Sync for ShadowData
impl Unpin for ShadowData
impl UnwindSafe for ShadowData
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
Mutably borrows from an owned value. Read more
§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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)