Blender V4.3
draw_cache_impl_volume.cc File Reference

Volume API for render engines. More...

#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_math_base.h"
#include "BLI_math_matrix.hh"
#include "BLI_math_vector.h"
#include "BLI_utildefines.h"
#include "DNA_object_types.h"
#include "DNA_volume_types.h"
#include "BKE_global.hh"
#include "BKE_volume.hh"
#include "BKE_volume_grid_fwd.hh"
#include "BKE_volume_render.hh"
#include "GPU_batch.hh"
#include "GPU_capabilities.hh"
#include "GPU_texture.hh"
#include "DEG_depsgraph_query.hh"
#include "DRW_render.hh"
#include "draw_cache.hh"
#include "draw_cache_impl.hh"

Go to the source code of this file.

Classes

struct  blender::draw::VolumeBatchCache
 
struct  blender::draw::VolumeWireframeUserData
 

Namespaces

namespace  blender
 
namespace  blender::draw
 

Functions

static void blender::draw::volume_batch_cache_clear (Volume *volume)
 
static bool blender::draw::volume_batch_cache_valid (Volume *volume)
 
static void blender::draw::volume_batch_cache_init (Volume *volume)
 
static VolumeBatchCacheblender::draw::volume_batch_cache_get (Volume *volume)
 
static void blender::draw::drw_volume_wireframe_cb (void *userdata, const float(*verts)[3], const int(*edges)[2], int totvert, int totedge)
 
static void blender::draw::drw_volume_selection_surface_cb (void *userdata, float(*verts)[3], int(*tris)[3], int totvert, int tottris)
 
static DRWVolumeGridblender::draw::volume_grid_cache_get (const Volume *volume, const bke::VolumeGridData *grid, VolumeBatchCache *cache)
 
DRWVolumeGridblender::draw::DRW_volume_batch_cache_get_grid (Volume *volume, const bke::VolumeGridData *volume_grid)
 
Expose via BKE callbacks
void blender::draw::DRW_volume_batch_cache_validate (Volume *volume)
 
void blender::draw::DRW_volume_batch_cache_dirty_tag (Volume *volume, int mode)
 
void blender::draw::DRW_volume_batch_cache_free (Volume *volume)
 
Volume
blender::gpu::Batch * blender::draw::DRW_volume_batch_cache_get_wireframes_face (Volume *volume)
 
blender::gpu::Batch * blender::draw::DRW_volume_batch_cache_get_selection_surface (Volume *volume)
 
int blender::draw::DRW_volume_material_count_get (const Volume *volume)
 

Detailed Description

Volume API for render engines.

Definition in file draw_cache_impl_volume.cc.