#[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§
Source§impl GeneratedBlendStruct for ViewLayer
impl GeneratedBlendStruct for ViewLayer
const BLEND_VERSION: Version
const BLEND_POINTER_SIZE: usize = 8usize
const BLEND_ENDIANNESS: Endianness = Endianness::Little
const STRUCT_NAME: &'static str = "ViewLayer"
const STRUCT_INDEX: usize = 762usize
const STRUCT_TYPE_INDEX: usize = 444usize
const IS_SYNTHETIC: bool = false
impl PointerTarget<ViewLayer> for ViewLayer
Auto Trait Implementations§
impl Freeze for ViewLayer
impl RefUnwindSafe for ViewLayer
impl Send for ViewLayer
impl Sync for ViewLayer
impl Unpin for ViewLayer
impl UnwindSafe for ViewLayer
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