Blender V4.5
GPU_batch_presets.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::gpu

Functions

blender::gpu::Batch * GPU_batch_preset_sphere (int lod) ATTR_WARN_UNUSED_RESULT
blender::gpu::Batch * GPU_batch_preset_sphere_wire (int lod) ATTR_WARN_UNUSED_RESULT
blender::gpu::Batch * GPU_batch_preset_quad ()
void gpu_batch_presets_init ()
void gpu_batch_presets_register (blender::gpu::Batch *preset_batch)
bool gpu_batch_presets_unregister (blender::gpu::Batch *preset_batch)
void gpu_batch_presets_exit ()

Detailed Description

Batched geometry rendering is powered by the GPU library. This file contains any additions or modifications specific to Blender.

Definition in file GPU_batch_presets.hh.

Function Documentation

◆ GPU_batch_preset_quad()

◆ GPU_batch_preset_sphere()

blender::gpu::Batch * GPU_batch_preset_sphere ( int lod)

◆ GPU_batch_preset_sphere_wire()

blender::gpu::Batch * GPU_batch_preset_sphere_wire ( int lod)

Definition at line 113 of file gpu_batch_presets.cc.

References BLI_assert, BLI_thread_is_main(), and g_presets_3d.

◆ gpu_batch_presets_exit()

void gpu_batch_presets_exit ( )

◆ gpu_batch_presets_init()

void gpu_batch_presets_init ( )

◆ gpu_batch_presets_register()

◆ gpu_batch_presets_unregister()

bool gpu_batch_presets_unregister ( blender::gpu::Batch * preset_batch)