|
Blender V4.3
|
#include <workbench_private.hh>
Public Member Functions | |
| ObjectState (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 |
Definition at line 197 of file workbench_private.hh.
| blender::workbench::ObjectState::ObjectState | ( | const SceneState & | scene_state, |
| const SceneResources & | resources, | ||
| Object * | ob ) |
Definition at line 203 of file workbench_state.cc.
References BKE_sculptsession_use_pbvh_draw(), ImagePaintSettings::canvas, CD_PROP_BYTE_COLOR, CD_PROP_COLOR, CD_PROP_FLOAT2, color_type, View3DShading::color_type, CTX_MODE_PAINT_TEXTURE, CTX_MODE_PAINT_VERTEX, CustomData_has_layer(), Object::data, draw_shadow, blender::workbench::SceneState::draw_shadows, DRW_context_state_get(), DRW_object_use_hide_faces(), DRW_state_is_image_render(), DRW_state_is_scene_render(), Object::dt, Object::dtx, ED_paint_shading_color_override(), ELEM, DRWContextState::evil_C, GPUSamplerState::extend_x, GPUSamplerState::extend_yz, blender::workbench::get_loop_custom_data(), blender::workbench::get_vert_custom_data(), blender::workbench::MaterialTexture::gpu, GPU_SAMPLER_EXTEND_MODE_REPEAT, GPU_SAMPLER_FILTERING_LINEAR, image_paint_override, IMAGEPAINT_INTERP_LINEAR, IMAGEPAINT_MODE_IMAGE, ToolSettings::imapaint, ImagePaintSettings::interp, blender::bke::pbvh::Mesh, blender::workbench::SceneResources::missing_texture, ImagePaintSettings::mode, OB_DRAW_NO_SHADOW_CAST, OB_MESH, OB_TEXTURE, DRWContextState::obact, blender::workbench::SceneState::object_mode, ToolSettings::paint_mode, blender::bke::object::pbvh_get(), DRWContextState::rv3d, blender::workbench::MaterialTexture::sampler_state, blender::workbench::SceneState::scene, sculpt_pbvh, GPUSamplerState::set_filtering_flag_from_test(), blender::workbench::SceneState::shading, show_missing_texture, ImageGPUTextures::texture, Scene::toolsettings, blender::bke::pbvh::Tree::type(), Object::type, use_per_material_batches, V3D_SHADING_MATERIAL_COLOR, V3D_SHADING_OBJECT_COLOR, V3D_SHADING_TEXTURE_COLOR, and V3D_SHADING_VERTEX_COLOR.
| eV3DShadingColorType blender::workbench::ObjectState::color_type = V3D_SHADING_SINGLE_COLOR |
Definition at line 198 of file workbench_private.hh.
Referenced by blender::workbench::Instance::curves_sync(), blender::workbench::Instance::hair_sync(), blender::workbench::Instance::mesh_sync(), blender::workbench::Instance::object_sync(), ObjectState(), blender::workbench::Instance::point_cloud_sync(), and blender::workbench::Instance::sculpt_sync().
| bool blender::workbench::ObjectState::draw_shadow = false |
Definition at line 201 of file workbench_private.hh.
Referenced by blender::workbench::Instance::mesh_sync(), and ObjectState().
| MaterialTexture blender::workbench::ObjectState::image_paint_override = {} |
Definition at line 199 of file workbench_private.hh.
Referenced by blender::workbench::Instance::mesh_sync(), ObjectState(), and blender::workbench::Instance::sculpt_sync().
| bool blender::workbench::ObjectState::sculpt_pbvh = false |
Definition at line 203 of file workbench_private.hh.
Referenced by blender::workbench::Instance::object_sync(), and ObjectState().
| bool blender::workbench::ObjectState::show_missing_texture = false |
Definition at line 200 of file workbench_private.hh.
Referenced by blender::workbench::Instance::mesh_sync(), ObjectState(), and blender::workbench::Instance::sculpt_sync().
| bool blender::workbench::ObjectState::use_per_material_batches = false |
Definition at line 202 of file workbench_private.hh.
Referenced by blender::workbench::Instance::mesh_sync(), ObjectState(), and blender::workbench::Instance::sculpt_sync().