Blender  V3.3
render.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2004 Blender Foundation. All rights reserved. */
3 
4 #pragma once
5 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct ImBuf;
15 struct ListBase;
16 struct Scene;
17 struct SeqEffectHandle;
18 struct SeqRenderData;
19 struct Sequence;
20 
21 #define EARLY_NO_INPUT -1
22 #define EARLY_DO_EFFECT 0
23 #define EARLY_USE_INPUT_1 1
24 #define EARLY_USE_INPUT_2 2
25 
26 /* mutable state for sequencer */
27 typedef struct SeqRenderState {
30 
32 
34  float timeline_frame,
35  int chan_shown,
36  struct ListBase *channels,
37  struct ListBase *seqbasep);
39  const struct SeqRenderData *context,
40  struct Sequence *seq,
41  float timeline_frame,
42  float fac,
43  struct ImBuf *ibuf1,
44  struct ImBuf *ibuf2,
45  struct ImBuf *ibuf3);
46 void seq_imbuf_to_sequencer_space(struct Scene *scene, struct ImBuf *ibuf, bool make_float);
48  struct ListBase *channels,
49  struct ListBase *seqbase,
50  int timeline_frame,
51  int chanshown,
52  struct Sequence **r_seq_arr);
54  struct SeqRenderState *state,
55  struct Sequence *seq,
56  float timeline_frame);
58  struct Mask *mask,
59  float frame_index,
60  bool make_float);
61 void seq_imbuf_assign_spaces(struct Scene *scene, struct ImBuf *ibuf);
62 
63 #ifdef __cplusplus
64 }
65 #endif
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 Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input 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 a producing a negative Combine Generate a color from its and blue channels(Deprecated)") DefNode(ShaderNode
Scene scene
const int state
ccl_gpu_kernel_postfix ccl_global float int int int int sh
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)
Definition: math_float4.h:513
int seq_get_shown_sequences(const struct Scene *scene, struct ListBase *channels, struct ListBase *seqbase, int timeline_frame, int chanshown, struct Sequence **r_seq_arr)
void seq_imbuf_assign_spaces(struct Scene *scene, struct ImBuf *ibuf)
Definition: render.c:88
struct ImBuf * seq_render_give_ibuf_seqbase(const struct SeqRenderData *context, float timeline_frame, int chan_shown, struct ListBase *channels, struct ListBase *seqbasep)
void seq_imbuf_to_sequencer_space(struct Scene *scene, struct ImBuf *ibuf, bool make_float)
Definition: render.c:101
struct ImBuf * seq_render_strip(const struct SeqRenderData *context, struct SeqRenderState *state, struct Sequence *seq, float timeline_frame)
struct SeqRenderState SeqRenderState
void seq_render_state_init(SeqRenderState *state)
Definition: render.c:231
struct ImBuf * seq_render_effect_execute_threaded(struct SeqEffectHandle *sh, const struct SeqRenderData *context, struct Sequence *seq, float timeline_frame, float fac, struct ImBuf *ibuf1, struct ImBuf *ibuf2, struct ImBuf *ibuf3)
struct ImBuf * seq_render_mask(const struct SeqRenderData *context, struct Mask *mask, float frame_index, bool make_float)
struct LinkNode * scene_parents
Definition: render.h:28