Blender V5.3
draw_cache_inline.hh File Reference
#include "GPU_batch.hh"
#include "GPU_ray_tracing.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DRW_ADD_FLAG_FROM_VBO_REQUEST(flag, vbo, value)
#define DRW_ADD_FLAG_FROM_IBO_REQUEST(flag, ibo, value)

Functions

gpu::Batch * blender::DRW_batch_request (gpu::Batch **batch)
bool blender::DRW_batch_requested (gpu::Batch *batch, GPUPrimType prim_type)
void blender::DRW_ibo_request (gpu::Batch *batch, gpu::IndexBuf **ibo)
bool blender::DRW_ibo_requested (gpu::IndexBuf *ibo)
void blender::DRW_vbo_request (gpu::Batch *batch, gpu::VertBuf **vbo)
bool blender::DRW_vbo_requested (gpu::VertBuf *vbo)
void blender::DRW_blas_request (gpu::BottomLevelAS **blas)

Macro Definition Documentation

◆ DRW_ADD_FLAG_FROM_IBO_REQUEST

#define DRW_ADD_FLAG_FROM_IBO_REQUEST ( flag,
ibo,
value )
Value:
(flag |= DRW_ibo_requested(ibo) ? (value) : 0)

Definition at line 27 of file draw_cache_inline.hh.

Referenced by blender::draw::DRW_curve_batch_cache_create_requested().

◆ DRW_ADD_FLAG_FROM_VBO_REQUEST

#define DRW_ADD_FLAG_FROM_VBO_REQUEST ( flag,
vbo,
value )
Value:
(flag |= DRW_vbo_requested(vbo) ? (value) : 0)

Definition at line 25 of file draw_cache_inline.hh.

Referenced by blender::draw::DRW_curve_batch_cache_create_requested().