Blender V4.3
gpu_select_sample_query.cc File Reference
#include <cstdlib>
#include "GPU_debug.hh"
#include "GPU_framebuffer.hh"
#include "GPU_select.hh"
#include "GPU_state.hh"
#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.hh"

Go to the source code of this file.

Classes

struct  GPUSelectQueryState
 

Functions

void gpu_select_query_begin (GPUSelectBuffer *buffer, 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()

◆ gpu_select_query_end()

◆ gpu_select_query_load_id()

Variable Documentation

◆ g_query_state