Blender V5.0
blender::workbench::ObjectState Struct Reference

#include <workbench_private.hh>

Public Member Functions

 ObjectState (const DRWContext *draw_ctx, const SceneState &scene_state, const SceneResources &resources, Object *ob)

Public Attributes

eV3DShadingColorType color_type = V3D_SHADING_SINGLE_COLOR
MaterialTexture image_paint_override = {}
bool show_missing_texture = false
bool draw_shadow = false
bool use_per_material_batches = false
bool sculpt_pbvh = false

Detailed Description

Definition at line 201 of file workbench_private.hh.

Constructor & Destructor Documentation

◆ ObjectState()

blender::workbench::ObjectState::ObjectState ( const DRWContext * draw_ctx,
const SceneState & scene_state,
const SceneResources & resources,
Object * ob )

Member Data Documentation

◆ color_type

◆ draw_shadow

bool blender::workbench::ObjectState::draw_shadow = false

Definition at line 205 of file workbench_private.hh.

Referenced by blender::workbench::Instance::mesh_sync(), and ObjectState().

◆ image_paint_override

MaterialTexture blender::workbench::ObjectState::image_paint_override = {}

◆ sculpt_pbvh

bool blender::workbench::ObjectState::sculpt_pbvh = false

Definition at line 207 of file workbench_private.hh.

Referenced by blender::workbench::Instance::object_sync(), and ObjectState().

◆ show_missing_texture

bool blender::workbench::ObjectState::show_missing_texture = false

◆ use_per_material_batches

bool blender::workbench::ObjectState::use_per_material_batches = false

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