Blender V4.3
select_private.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#define USE_CAGE_OCCLUSION
12
13#include "DRW_render.hh"
14
15/* GPUViewport.storage
16 * Is freed every time the viewport engine changes. */
20
27
35
41
54
55/* `select_draw_utils.cc` */
56
58void select_id_draw_object(void *vedata,
59 View3D *v3d,
60 Object *ob,
61 short select_mode,
62 uint initial_offset,
63 uint *r_vert_offset,
64 uint *r_edge_offset,
65 uint *r_face_offset);
unsigned int uint
char DRWViewportEmptyList
Definition DRW_render.hh:97
struct GPUShader GPUShader
short select_id_get_object_select_mode(Scene *scene, Object *ob)
void select_id_draw_object(void *vedata, View3D *v3d, Object *ob, short select_mode, uint initial_offset, uint *r_vert_offset, uint *r_edge_offset, uint *r_face_offset)
SELECTID_StorageList * stl
DRWViewportEmptyList * fbl
DRWViewportEmptyList * txl
SELECTID_PassList * psl
DRWPass * select_id_vert_pass
DRWPass * depth_only_pass
DRWPass * select_id_edge_pass
DRWPass * select_id_face_pass
DRWShadingGroup * shgrp_face_unif
DRWShadingGroup * shgrp_edge
DRWShadingGroup * shgrp_depth_only
DRWShadingGroup * shgrp_face_flat
DRWShadingGroup * shgrp_occlude
DRWShadingGroup * shgrp_vert
GPUShader * select_id_uniform
GPUShader * select_id_flat
struct SELECTID_PrivateData * g_data