ViewLayer

Struct ViewLayer 

Source
#[repr(C, packed(4))]
pub struct ViewLayer {
Show 28 fields pub next: Pointer<ViewLayer>, pub prev: Pointer<ViewLayer>, pub name: [i8; 64], pub flag: i16, pub _pad: [i8; 6], pub object_bases: ListBase, pub stats: Pointer<Nothing>, pub basact: Pointer<Base>, pub layer_collections: ListBase, pub active_collection: Pointer<LayerCollection>, pub layflag: i32, pub passflag: i32, pub pass_alpha_threshold: f32, pub cryptomatte_flag: i16, pub cryptomatte_levels: i16, pub _pad1: [i8; 4], pub samples: i32, pub mat_override: Pointer<Material>, pub id_properties: Pointer<IDProperty>, pub freestyle_config: FreestyleConfig, pub eevee: ViewLayerEEVEE, pub aovs: ListBase, pub active_aov: Pointer<ViewLayerAOV>, pub lightgroups: ListBase, pub active_lightgroup: Pointer<ViewLayerLightgroup>, pub drawdata: ListBase, pub object_bases_array: Pointer<Pointer<Base>>, pub object_bases_hash: Pointer<Nothing>,
}

Fields§

§next: Pointer<ViewLayer>§prev: Pointer<ViewLayer>§name: [i8; 64]§flag: i16§_pad: [i8; 6]§object_bases: ListBase§stats: Pointer<Nothing>§basact: Pointer<Base>§layer_collections: ListBase§active_collection: Pointer<LayerCollection>§layflag: i32§passflag: i32§pass_alpha_threshold: f32§cryptomatte_flag: i16§cryptomatte_levels: i16§_pad1: [i8; 4]§samples: i32§mat_override: Pointer<Material>§id_properties: Pointer<IDProperty>§freestyle_config: FreestyleConfig§eevee: ViewLayerEEVEE§aovs: ListBase§active_aov: Pointer<ViewLayerAOV>§lightgroups: ListBase§active_lightgroup: Pointer<ViewLayerLightgroup>§drawdata: ListBase§object_bases_array: Pointer<Pointer<Base>>§object_bases_hash: Pointer<Nothing>

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.