Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_select.h
| Show All 33 Lines | |||||
| struct rctf; | struct rctf; | ||||
| /* flags for mode of operation */ | /* flags for mode of operation */ | ||||
| enum { | enum { | ||||
| GPU_SELECT_ALL = 1, | GPU_SELECT_ALL = 1, | ||||
| GPU_SELECT_NEAREST_FIRST_PASS = 2, | GPU_SELECT_NEAREST_FIRST_PASS = 2, | ||||
| GPU_SELECT_NEAREST_SECOND_PASS = 3, | GPU_SELECT_NEAREST_SECOND_PASS = 3, | ||||
| /* test for depth sorting selection */ | |||||
| GPU_SELECT_NEAREST_DEPTH_SORT = 4, | |||||
| }; | }; | ||||
| void GPU_select_begin(unsigned int *buffer, unsigned int bufsize, const struct rctf *input, char mode, int oldhits); | void GPU_select_begin(unsigned int *buffer, unsigned int bufsize, const struct rctf *input, char mode, int oldhits); | ||||
| bool GPU_select_load_id(unsigned int id); | bool GPU_select_load_id(unsigned int id); | ||||
| unsigned int GPU_select_end(void); | unsigned int GPU_select_end(void); | ||||
| bool GPU_select_query_check_active(void); | bool GPU_select_query_check_active(void); | ||||
| #endif | #endif | ||||