Blender V5.0
draw_curves_private.hh File Reference
#include <array>
#include <string>
#include "GPU_shader.hh"
#include "GPU_vertex_buffer.hh"
#include "BLI_vector_set.hh"
#include "draw_pass.hh"

Go to the source code of this file.

Classes

struct  blender::draw::ParticleSpans
struct  blender::draw::ParticleDrawSource
struct  blender::draw::CurvesEvalCache

Namespaces

namespace  blender
namespace  blender::bke
namespace  blender::gpu
namespace  blender::draw

Macros

#define MAX_FACE_PER_SEGMENT   5
#define MAX_HAIR_SUBDIV   4 /* see hair_subdiv rna */
#define CURVES_EVAL_SHADER_NUM   5

Enumerations

enum  blender::draw::CurvesEvalShader {
  blender::draw::CURVES_EVAL_POSITION = 0 , blender::draw::CURVES_EVAL_FLOAT = 1 , blender::draw::CURVES_EVAL_FLOAT2 = 2 , blender::draw::CURVES_EVAL_FLOAT3 = 3 ,
  blender::draw::CURVES_EVAL_FLOAT4 = 4 , blender::draw::CURVES_EVAL_LENGTH_INTERCEPT = 5
}

Functions

CurvesEvalCacheblender::draw::curves_get_eval_cache (Curves &curves_id)
void blender::draw::drw_curves_get_attribute_sampler_name (const StringRef layer_name, char r_sampler_name[32])
void blender::draw::curves_bind_resources (PassMain::Sub &sub_ps, CurvesModule &module, CurvesEvalCache &cache, const int face_per_segment, GPUMaterial *gpu_material, gpu::VertBufPtr &indirection_buf, const std::optional< StringRef > active_uv_name)

Macro Definition Documentation

◆ CURVES_EVAL_SHADER_NUM

#define CURVES_EVAL_SHADER_NUM   5

Definition at line 119 of file draw_curves_private.hh.

◆ MAX_FACE_PER_SEGMENT

#define MAX_FACE_PER_SEGMENT   5

Definition at line 41 of file draw_curves_private.hh.

◆ MAX_HAIR_SUBDIV

#define MAX_HAIR_SUBDIV   4 /* see hair_subdiv rna */

Definition at line 42 of file draw_curves_private.hh.