Blender  V3.3
Classes | Functions | Variables
gpu_select_sample_query.cc File Reference
#include <cstdlib>
#include "GPU_debug.h"
#include "GPU_framebuffer.h"
#include "GPU_select.h"
#include "GPU_state.h"
#include "MEM_guardedalloc.h"
#include "BLI_rect.h"
#include "BLI_utildefines.h"
#include "BLI_vector.hh"
#include "gpu_backend.hh"
#include "gpu_query.hh"
#include "gpu_select_private.h"

Go to the source code of this file.

Classes

struct  GPUSelectQueryState
 

Functions

void gpu_select_query_begin (GPUSelectResult *buffer, uint buffer_len, const rcti *input, const eGPUSelectMode mode, int oldhits)
 
bool gpu_select_query_load_id (uint id)
 
uint gpu_select_query_end ()
 

Variables

static GPUSelectQueryState g_query_state = {false}
 

Detailed Description

Interface for accessing GPU-related methods for selection. The semantics will be similar to glRenderMode(GL_SELECT) since the goal is to maintain compatibility.

Definition in file gpu_select_sample_query.cc.

Function Documentation

◆ gpu_select_query_begin()

void gpu_select_query_begin ( GPUSelectResult buffer,
uint  buffer_len,
const rcti input,
const eGPUSelectMode  mode,
int  oldhits 
)

◆ gpu_select_query_end()

uint gpu_select_query_end ( void  )

◆ gpu_select_query_load_id()

bool gpu_select_query_load_id ( uint  id)

Variable Documentation

◆ g_query_state

GPUSelectQueryState g_query_state = {false}
static