Blender V5.3
gpu_select_private.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2014 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10
11#pragma once
12
14#include "GPU_select.hh"
15
16namespace blender {
17
18/* gpu_select_pick */
19
20void gpu_select_pick_begin(GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode);
21bool gpu_select_pick_load_id(uint id, bool end);
23
31
32/* gpu_select_sample_query */
33
35 const rcti *input,
36 GPUSelectMode mode,
37 int oldhits);
40
41/* gpu_select_next */
42
44 const rcti *input,
45 int radius,
46 GPUSelectMode mode);
48
55void gpu_select_next_set_result(GPUSelectResult *hit_buf, uint hit_len);
56
57#define SELECT_ID_NONE ((uint)0xffffffff)
58
59} // namespace blender
BMesh Iterators.
void gpu_select_pick_begin(GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode)
unsigned int uint
Definition BKE_text.h:55
bool gpu_select_pick_load_id(uint id, bool end)
void gpu_select_pick_cache_begin()
bool gpu_select_query_load_id(uint id)
void gpu_select_pick_cache_end()
VecBase< int32_t, 2 > int2
uint gpu_select_pick_end()
int gpu_select_next_get_radius()
bool gpu_select_pick_is_cached()
void gpu_select_query_begin(GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode, int oldhits)
void gpu_select_pick_cache_load_id()
void gpu_select_next_set_result(GPUSelectResult *hit_buf, uint hit_len)
int2 gpu_select_next_get_pick_area_center()
uint gpu_select_next_end()
GPUSelectMode gpu_select_next_get_mode()
void gpu_select_next_begin(GPUSelectBuffer *buffer, const rcti *input, const int radius, GPUSelectMode mode)