Blender V5.0
GPUSelectState Struct Reference

Public Attributes

bool select_is_active
GPUSelectMode mode
GPUSelectAlgo algorithm
bool use_cache
bool use_cache_needs_init

Detailed Description

Definition at line 42 of file gpu_select.cc.

Member Data Documentation

◆ algorithm

GPUSelectAlgo GPUSelectState::algorithm

Definition at line 48 of file gpu_select.cc.

◆ mode

GPUSelectMode GPUSelectState::mode

Definition at line 46 of file gpu_select.cc.

◆ select_is_active

bool GPUSelectState::select_is_active

Definition at line 44 of file gpu_select.cc.

◆ use_cache

bool GPUSelectState::use_cache

Definition at line 50 of file gpu_select.cc.

◆ use_cache_needs_init

bool GPUSelectState::use_cache_needs_init

Signifies that GPU_select_cache_begin has been called, future calls to GPU_select_begin should initialize the cache.

Note
GPU_select_cache_begin could perform initialization but doesn't as it's inconvenient for callers making the cache begin/end calls outside lower level selection logic where the mode to pass to GPU_select_begin yet isn't known.

Definition at line 59 of file gpu_select.cc.


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