Blender V4.5
ViewLayer Struct Reference

#include <DNA_layer_types.h>

Public Attributes

struct ViewLayernext
 
struct ViewLayerprev
 
char name [64]
 
short flag
 
char _pad [6]
 
ListBase object_bases
 
struct SceneStatsstats
 
struct Basebasact
 
ListBase layer_collections
 
LayerCollectionactive_collection
 
int layflag
 
int passflag
 
float pass_alpha_threshold
 
short cryptomatte_flag
 
short cryptomatte_levels
 
int grease_pencil_flags
 
int samples
 
struct Materialmat_override
 
struct Worldworld_override
 
struct IDPropertyid_properties
 
struct IDPropertysystem_properties
 
struct FreestyleConfig freestyle_config
 
struct ViewLayerEEVEE eevee
 
ListBase aovs
 
ViewLayerAOVactive_aov
 
ListBase lightgroups
 
ViewLayerLightgroupactive_lightgroup
 
struct Base ** object_bases_array
 
struct GHashobject_bases_hash
 

Detailed Description

Definition at line 149 of file DNA_layer_types.h.

Member Data Documentation

◆ _pad

char ViewLayer::_pad[6]

Definition at line 153 of file DNA_layer_types.h.

◆ active_aov

◆ active_collection

◆ active_lightgroup

◆ aovs

◆ basact

◆ cryptomatte_flag

◆ cryptomatte_levels

◆ eevee

◆ flag

◆ freestyle_config

◆ grease_pencil_flags

int ViewLayer::grease_pencil_flags

◆ id_properties

◆ layer_collections

◆ layflag

◆ lightgroups

◆ mat_override

◆ name

◆ next

struct ViewLayer* ViewLayer::next

Definition at line 150 of file DNA_layer_types.h.

Referenced by blender::ed::space_node::preview_render().

◆ object_bases

◆ object_bases_array

◆ object_bases_hash

◆ pass_alpha_threshold

float ViewLayer::pass_alpha_threshold

Definition at line 170 of file DNA_layer_types.h.

Referenced by do_version_layers_to_collections(), and view_layer_add().

◆ passflag

◆ prev

struct ViewLayer * ViewLayer::prev

◆ samples

int ViewLayer::samples

Definition at line 175 of file DNA_layer_types.h.

Referenced by do_version_layers_to_collections().

◆ stats

struct SceneStats* ViewLayer::stats

◆ system_properties

struct IDProperty* ViewLayer::system_properties

Equivalent to data-blocks system-defined ID properties.

In Blender 4.5, only used to ensure forward compatibility with 5.x blend-files, and data management consistency.

Definition at line 187 of file DNA_layer_types.h.

Referenced by BKE_view_layer_blend_read_data(), BKE_view_layer_copy_data(), and BKE_view_layer_free_ex().

◆ world_override


The documentation for this struct was generated from the following file: