Blender V5.3
gpu_py_select.cc File Reference
#include <Python.h>
#include "../generic/py_capi_utils.hh"
#include "GPU_select.hh"
#include "gpu_py.hh"
#include "gpu_py_select.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Methods
 blender::PyDoc_STRVAR (pygpu_select_load_id_doc, ".. function:: load_id(id)\n" "\n" " Set the selection ID.\n" "\n" " :param id: Number (32-bit uint).\n" " :type id: int\n")
static PyObject * blender::pygpu_select_load_id (PyObject *, PyObject *value)

Module

static PyMethodDef blender::pygpu_select__tp_methods []
static PyModuleDef blender::pygpu_select_module_def
 blender::PyDoc_STRVAR (pygpu_select__tp_doc, "This module provides access to selection.")
PyObject * blender::bpygpu_select_init ()

Detailed Description

This file defines the gpu.select API.

Note
Currently only used for gizmo selection, will need to add begin/end and a way to access the hits.
  • Use bpygpu_ for local API.
  • Use BPyGPU for public API.

Definition in file gpu_py_select.cc.