Blender  V3.3
gpu_select_private.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2014 Blender Foundation. All rights reserved. */
3 
10 #pragma once
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /* gpu_select_pick */
17 
19  uint buffer_len,
20  const rcti *input,
21  eGPUSelectMode mode);
22 bool gpu_select_pick_load_id(uint id, bool end);
24 
26 void gpu_select_pick_cache_end(void);
30 bool gpu_select_pick_is_cached(void);
32 
33 /* gpu_select_sample_query */
34 
36  GPUSelectResult *buffer, uint buffer_len, const rcti *input, eGPUSelectMode mode, int oldhits);
39 
40 #define SELECT_ID_NONE ((uint)0xffffffff)
41 
42 #ifdef __cplusplus
43 }
44 #endif
unsigned int uint
Definition: BLI_sys_types.h:67
eGPUSelectMode
Definition: GPU_select.h:19
bool gpu_select_pick_load_id(uint id, bool end)
bool gpu_select_query_load_id(uint id)
void gpu_select_query_begin(GPUSelectResult *buffer, uint buffer_len, const rcti *input, eGPUSelectMode mode, int oldhits)
void gpu_select_pick_begin(GPUSelectResult *buffer, uint buffer_len, const rcti *input, eGPUSelectMode mode)
uint gpu_select_query_end(void)
bool gpu_select_pick_is_cached(void)
void gpu_select_pick_cache_end(void)
uint gpu_select_pick_end(void)
void gpu_select_pick_cache_begin(void)
void gpu_select_pick_cache_load_id(void)
ccl_global float * buffer
ccl_global KernelShaderEvalInput * input