38 add_quad(x1, y1, x1, y2, x2, y1, x2, y2,
color,
color,
color,
color);
51 add_quad(x1, y1, x2, y2, x3, y3, x4, y4,
color,
color,
color,
color);
62 const uchar color1[4],
63 const uchar color2[4],
64 const uchar color3[4],
65 const uchar color4[4]);
75 float x1,
float y1,
float x2,
float y2,
const uchar color1[4],
const uchar color2[4]);
78 static constexpr int MAX_QUADS = 1024;
79 static constexpr int MAX_LINES = 4096;
83 blender::gpu::Batch *batch_quads =
nullptr;
88 blender::gpu::Batch *batch_lines =
nullptr;
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 color
void add_line(float x1, float y1, float x2, float y2, const uchar color[4])
void add_quad(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, const uchar color[4])
void add_wire_quad(float x1, float y1, float x2, float y2, const uchar color[4])
void add_quad(float x1, float y1, float x2, float y2, const uchar color[4])