Blender V4.5
GPUPickState::[struct].gpu Struct Reference

Public Attributes

DepthBufCacherect_depth
DepthBufCacherect_depth_test
int clip_readpixels [4]
bool is_init
uint prev_id

Detailed Description

GPU drawing, never use when is_cached == true.

Definition at line 235 of file gpu_select_pick.cc.

Member Data Documentation

◆ clip_readpixels

Pass to GPU_framebuffer_read_depth(x, y, w, h).

◆ is_init

Set after first draw.

◆ prev_id

◆ rect_depth

DepthBufCache* GPUPickState::[struct].gpu rect_depth

The current depth, accumulated while drawing.

◆ rect_depth_test

DepthBufCache* GPUPickState::[struct].gpu rect_depth_test

Scratch buffer, avoid allocations every time (when not caching).


The documentation for this struct was generated from the following files: