Blender V4.5
draw_curves.cc File Reference

Contains procedural GPU hair drawing methods. More...

#include "BLI_utildefines.h"
#include "DNA_curves_types.h"
#include "BKE_attribute.hh"
#include "BKE_curves.hh"
#include "BKE_customdata.hh"
#include "GPU_batch.hh"
#include "GPU_capabilities.hh"
#include "GPU_material.hh"
#include "GPU_shader.hh"
#include "GPU_texture.hh"
#include "GPU_vertex_buffer.hh"
#include "DRW_gpu_wrapper.hh"
#include "DRW_render.hh"
#include "draw_cache_impl.hh"
#include "draw_common.hh"
#include "draw_context_private.hh"
#include "draw_curves_private.hh"
#include "draw_hair_private.hh"
#include "draw_shader.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::draw

Typedefs

using blender::draw::CurvesInfosBuf = UniformBuffer<CurvesInfos>

Functions

void blender::draw::DRW_curves_init (DRWData *drw_data=nullptr)
void blender::draw::DRW_curves_begin_sync (DRWData *drw_data)
void blender::draw::DRW_curves_module_free (draw::CurvesModule *module)
static void blender::draw::drw_curves_cache_update_compute (CurvesEvalCache *cache, const int curves_num, gpu::VertBuf *output_buf, gpu::VertBuf *input_buf)
static void blender::draw::drw_curves_cache_update_compute (CurvesEvalCache *cache)
static CurvesEvalCacheblender::draw::drw_curves_cache_get (Curves &curves, GPUMaterial *gpu_material, int subdiv, int thickness_res)
gpu::VertBufblender::draw::DRW_curves_pos_buffer_get (Object *object)
static int blender::draw::attribute_index_in_material (GPUMaterial *gpu_material, const StringRef name)
void blender::draw::DRW_curves_update (draw::Manager &manager)
static CurvesEvalCacheblender::draw::curves_cache_get (Curves &curves, GPUMaterial *gpu_material, int subdiv, int thickness_res)
gpu::VertBufblender::draw::curves_pos_buffer_get (Scene *scene, Object *object)
template<typename PassT>
gpu::Batch * blender::draw::curves_sub_pass_setup_implementation (PassT &sub_ps, const Scene *scene, Object *ob, GPUMaterial *gpu_material)
gpu::Batch * blender::draw::curves_sub_pass_setup (PassMain::Sub &ps, const Scene *scene, Object *ob, GPUMaterial *gpu_material=nullptr)

Detailed Description

Contains procedural GPU hair drawing methods.

Definition in file draw_curves.cc.