Blender V4.3
render.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
12#include "BLI_vector.hh"
13
14struct ImBuf;
15struct LinkNode;
16struct ListBase;
17struct Scene;
18struct SeqEffectHandle;
19struct SeqRenderData;
20struct Sequence;
21
22/* mutable state for sequencer */
25};
26
27/* Strip corner coordinates in screen pixel space. Note that they might not be
28 * axis aligned when rotation is present. */
31
32 bool is_empty() const
33 {
34 return v0 == v1 && v2 == v3 && v0 == v2;
35 }
36};
37
39 float timeline_frame,
40 int chan_shown,
42 ListBase *seqbasep);
44 const SeqRenderData *context,
45 Sequence *seq,
46 float timeline_frame,
47 float fac,
48 ImBuf *ibuf1,
49 ImBuf *ibuf2);
50void seq_imbuf_to_sequencer_space(const Scene *scene, ImBuf *ibuf, bool make_float);
52 const Scene *scene, ListBase *channels, ListBase *seqbase, int timeline_frame, int chanshown);
55 Sequence *seq,
56 float timeline_frame);
57ImBuf *seq_render_mask(const SeqRenderData *context,
58 Mask *mask,
59 float frame_index,
60 bool make_float);
61void seq_imbuf_assign_spaces(const Scene *scene, ImBuf *ibuf);
62
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Brightness Control the brightness and contrast of the input color Vector Map input vector components with curves Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert Invert a producing a negative Combine Generate a color from its and blue channels(Deprecated)") DefNode(ShaderNode
ccl_device_inline float4 mask(const int4 mask, const float4 a)
static ulong state[N]
VecBase< float, 2 > float2
void seq_imbuf_to_sequencer_space(const Scene *scene, ImBuf *ibuf, bool make_float)
Definition render.cc:106
StripScreenQuad get_strip_screen_quad(const SeqRenderData *context, const Sequence *seq)
Definition render.cc:296
void seq_imbuf_assign_spaces(const Scene *scene, ImBuf *ibuf)
Definition render.cc:93
ImBuf * seq_render_mask(const SeqRenderData *context, Mask *mask, float frame_index, bool make_float)
Definition render.cc:1337
blender::Vector< Sequence * > seq_get_shown_sequences(const Scene *scene, ListBase *channels, ListBase *seqbase, int timeline_frame, int chanshown)
Definition render.cc:268
ImBuf * seq_render_give_ibuf_seqbase(const SeqRenderData *context, float timeline_frame, int chan_shown, ListBase *channels, ListBase *seqbasep)
Definition render.cc:2133
ImBuf * seq_render_strip(const SeqRenderData *context, SeqRenderState *state, Sequence *seq, float timeline_frame)
Definition render.cc:1830
ImBuf * seq_render_effect_execute_threaded(SeqEffectHandle *sh, const SeqRenderData *context, Sequence *seq, float timeline_frame, float fac, ImBuf *ibuf1, ImBuf *ibuf2)
Definition render.cc:799
LinkNode * scene_parents
Definition render.hh:24
blender::float2 v1
Definition render.hh:30
blender::float2 v2
Definition render.hh:30
bool is_empty() const
Definition render.hh:32
blender::float2 v0
Definition render.hh:30
blender::float2 v3
Definition render.hh:30