Blender V5.0
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)
void gpu_batch_storage_buffer_register (blender::gpu::StorageBuf *preset_buffer)
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()

◆ GPU_batch_preset_sphere_wire()

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

Definition at line 114 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_storage_buffer_register()

void gpu_batch_storage_buffer_register ( blender::gpu::StorageBuf * preset_buffer)