Blender
V3.3
|
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BLI_math_vector.h"
#include "BKE_DerivedMesh.h"
#include "BKE_customdata.h"
#include "BKE_editmesh.h"
#include "BKE_global.h"
#include "BKE_object.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "GPU_batch.h"
#include "GPU_immediate.h"
#include "GPU_shader.h"
#include "GPU_state.h"
#include "ED_mesh.h"
#include "UI_resources.h"
#include "DRW_engine.h"
#include "view3d_intern.h"
Go to the source code of this file.
Functions | |
void | ED_draw_object_facemap (Depsgraph *depsgraph, Object *ob, const float col[4], const int facemap) |
Variables | |
uchar | view3d_camera_border_hack_col [3] |
bool | view3d_camera_border_hack_test = false |
void ED_draw_object_facemap | ( | Depsgraph * | depsgraph, |
Object * | ob, | ||
const float | col[4], | ||
const int | facemap | ||
) |
Definition at line 44 of file drawobject.c.
References MLoopTri_Store::array, BKE_object_get_evaluated_mesh(), CD_FACEMAP, MVert::co, col, copy_v3_v3(), CustomData_get_layer(), Object::data, DEG_get_evaluated_object(), depsgraph, facemap, GPU_batch_create, GPU_batch_discard(), GPU_batch_draw(), GPU_batch_program_set_builtin(), GPU_batch_uniform_4fv, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_front_facing(), GPU_PRIM_TRIS, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertbuf_attr_get_raw_data(), GPU_vertbuf_create_with_format, GPU_vertbuf_data_alloc(), GPU_vertbuf_data_resize(), GPU_vertbuf_discard(), GPU_vertbuf_raw_step(), GPU_vertformat_attr_add(), GPUBatch, MPoly::loopstart, Mesh_Runtime::looptris, Mesh::mloop, Mesh::mpoly, Mesh::mvert, NULL, OB_MESH, OB_NEG_SCALE, Mesh::pdata, poly_to_tri_count(), Mesh::runtime, Mesh::totloop, MPoly::totloop, Mesh::totpoly, Object::transflag, MLoopTri::tri, Object::type, and MLoop::v.
Referenced by ED_gizmo_draw_preset_facemap().
uchar view3d_camera_border_hack_col[3] |
Definition at line 38 of file drawobject.c.
Referenced by drawviewborder().
bool view3d_camera_border_hack_test = false |
Definition at line 39 of file drawobject.c.
Referenced by drawviewborder().