Blender V5.0
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
13#include "GPU_select.hh"
14
15/* gpu_select_pick */
16
18bool gpu_select_pick_load_id(uint id, bool end);
20
28
29/* gpu_select_sample_query */
30
32 const rcti *input,
33 GPUSelectMode mode,
34 int oldhits);
37
38/* gpu_select_next */
39
42
43/* Return a single offset since picking uses squared viewport. */
46void gpu_select_next_set_result(GPUSelectResult *hit_buf, uint hit_len);
47
48#define SELECT_ID_NONE ((uint)0xffffffff)
unsigned int uint
GPUSelectMode
Definition GPU_select.hh:18
bool gpu_select_pick_load_id(uint id, bool end)
bool gpu_select_query_load_id(uint id)
void gpu_select_pick_begin(GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode)
void gpu_select_next_begin(GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode)
uint gpu_select_pick_end()
void gpu_select_pick_cache_begin()
void gpu_select_query_begin(GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode, int oldhits)
void gpu_select_next_set_result(GPUSelectResult *hit_buf, uint hit_len)
int gpu_select_next_get_pick_area_center()
GPUSelectMode gpu_select_next_get_mode()
bool gpu_select_pick_is_cached()
uint gpu_select_query_end()
void gpu_select_pick_cache_load_id()
uint gpu_select_next_end()
void gpu_select_pick_cache_end()
#define input