Blender V5.0
gpencil_render.cc File Reference
#include "BLI_math_geom.h"
#include "BLI_math_matrix.h"
#include "BLI_rect.h"
#include "BKE_colortools.hh"
#include "DRW_render.hh"
#include "BKE_object.hh"
#include "DEG_depsgraph_query.hh"
#include "RE_engine.h"
#include "RE_pipeline.h"
#include "render_types.h"
#include "IMB_imbuf_types.hh"
#include "gpencil_engine_private.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::draw
namespace  blender::draw::gpencil

Functions

static void blender::draw::gpencil::remap_depth (const View &view, MutableSpan< float > pix_z)
static void blender::draw::gpencil::render_set_view (RenderEngine *engine, const Depsgraph *depsgraph, const float2 aa_offset=float2{0.0f})
static void blender::draw::gpencil::render_init_buffers (const DRWContext *draw_ctx, Instance &inst, RenderEngine *engine, RenderLayer *render_layer, const rcti *rect, const bool use_separated_pass)
static void blender::draw::gpencil::render_result_z (const DRWContext *draw_ctx, RenderLayer *rl, const char *viewname, Instance &instance, const rcti *rect)
static void blender::draw::gpencil::render_result_combined (RenderLayer *rl, const char *viewname, Instance &instance, const rcti *rect)
static void blender::draw::gpencil::render_result_separated_pass (float *data, Instance &instance, const rcti *rect)
static void blender::draw::gpencil::cdf_from_curvemapping (const CurveMapping &curve, Array< float > &cdf)
static void blender::draw::gpencil::cdf_invert (Array< float > &cdf, Array< float > &inverted_cdf)
static float blender::draw::gpencil::shutter_time_to_scene_time (const int shutter_position, const float shutter_time, const float frame_time, float time)
static void blender::draw::gpencil::render_frame (RenderEngine *engine, Depsgraph *depsgraph, const DRWContext *draw_ctx, RenderLayer *render_layer, const rcti rect, gpencil::Instance &inst, Manager &manager, const bool separated_pass)