|
Blender V5.0
|
#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 |
Definition at line 201 of file workbench_private.hh.
| blender::workbench::ObjectState::ObjectState | ( | const DRWContext * | draw_ctx, |
| const SceneState & | scene_state, | ||
| const SceneResources & | resources, | ||
| Object * | ob ) |
Definition at line 271 of file workbench_state.cc.
References BKE_sculptsession_use_pbvh_draw(), C, 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(), draw_shadow, blender::workbench::SceneState::draw_shadows, DRW_object_get_data_for_drawing(), DRW_object_use_hide_faces(), Object::dt, Object::dtx, ED_paint_shading_color_override(), ELEM, DRWContext::evil_C, blender::workbench::get_loop_custom_data(), blender::workbench::get_vert_custom_data(), GPU_SAMPLER_EXTEND_MODE_REPEAT, GPU_SAMPLER_FILTERING_LINEAR, image_paint_override, IMAGEPAINT_INTERP_LINEAR, IMAGEPAINT_MODE_IMAGE, ToolSettings::imapaint, ImagePaintSettings::interp, DRWContext::is_image_render(), DRWContext::is_scene_render(), blender::bke::pbvh::Mesh, blender::workbench::SceneResources::missing_texture, ImagePaintSettings::mode, OB_DRAW_NO_SHADOW_CAST, OB_MESH, OB_TEXTURE, DRWContext::obact, blender::workbench::SceneState::object_mode, ToolSettings::paint_mode, blender::bke::object::pbvh_get(), DRWContext::rv3d, blender::workbench::SceneState::scene, sculpt_pbvh, blender::workbench::SceneState::shading, show_missing_texture, Scene::toolsettings, Object::type, use_per_material_batches, V3D_SHADING_MATERIAL_COLOR, V3D_SHADING_TEXTURE_COLOR, and V3D_SHADING_VERTEX_COLOR.
| eV3DShadingColorType blender::workbench::ObjectState::color_type = V3D_SHADING_SINGLE_COLOR |
Definition at line 202 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::pointcloud_sync(), and blender::workbench::Instance::sculpt_sync().
| 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().
| MaterialTexture blender::workbench::ObjectState::image_paint_override = {} |
Definition at line 203 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 207 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 204 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 206 of file workbench_private.hh.
Referenced by blender::workbench::Instance::mesh_sync(), ObjectState(), and blender::workbench::Instance::sculpt_sync().