pub struct UnityUrpDecalFeature {
pub active: bool,
pub technique: i64,
pub max_draw_distance: f32,
pub decal_layers: bool,
pub dbuffer_surface_data: i64,
pub screen_space_normal_blend: i64,
}Expand description
A Decal renderer feature as stored (URP_DECAL_FEATURE: m_Active and its DecalSettings, Universal RP
17.3).
Fields§
§active: boolm_Active.
technique: i64technique, a DecalTechniqueOption: 0 automatic, 1 DBuffer, 2 screen space.
max_draw_distance: f32maxDrawDistance.
decal_layers: booldecalLayers.
dbuffer_surface_data: i64dBufferSettings.surfaceData, a DecalSurfaceData: 0 albedo, 1 albedo and normal, 2 albedo, normal,
metallic, occlusion and smoothness.
screen_space_normal_blend: i64screenSpaceSettings.normalBlend, a DecalNormalBlend: 0 low, 1 medium, 2 high.
Trait Implementations§
Source§impl Clone for UnityUrpDecalFeature
impl Clone for UnityUrpDecalFeature
Source§impl Debug for UnityUrpDecalFeature
impl Debug for UnityUrpDecalFeature
Source§impl PartialEq for UnityUrpDecalFeature
impl PartialEq for UnityUrpDecalFeature
Source§impl Serialize for UnityUrpDecalFeature
impl Serialize for UnityUrpDecalFeature
impl StructuralPartialEq for UnityUrpDecalFeature
Auto Trait Implementations§
impl Freeze for UnityUrpDecalFeature
impl RefUnwindSafe for UnityUrpDecalFeature
impl Send for UnityUrpDecalFeature
impl Sync for UnityUrpDecalFeature
impl Unpin for UnityUrpDecalFeature
impl UnsafeUnpin for UnityUrpDecalFeature
impl UnwindSafe for UnityUrpDecalFeature
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more