#include <c4d_videopostdata.h>
◆ PixelPost()
Default constructor.
- Since
- R17.032
◆ frag
The current pixel fragment.
◆ frag_nx
The pixel fragments for the next line. Private.
◆ vd
◆ col
◆ mp
◆ aa
true means that antialiasing is used during rendering.
In the case of antialiasing this has an important impact on VideoPostData::ExecuteLine, using antialiasing means that each pixel is split into 4 independent sub-pixels.
In the case of VideoPostData::ExecuteLine col is the buffer to the line.
If false the line contains for each pixel comp Float values (e.g. comp==3 gives RGB components).
If true the line contains for each pixel 4 comp Float values (4 sub-pixels: first one is upper left, then upper right, then lower left, then lower right).
◆ valid_line
true means that the line has not yet been processed.
During antialiasing and multiprocessor rendering it is possible that a few lines are rendered twice.
Imagine that you have created abuffer. In VideoPostData::ExecuteLine you save the local data to the buffer which is then processed at the end of the frame.
To avoid that the same line is calculated twice valid_line is set to false after it already has been processed.
◆ comp
The number of components per pixel. At least 3 (RGB), but larger values are possible. (Depending on existing special buffers, alphas etc.)
The structure of those components is stored in the Multipass structure.
◆ cpu_num
◆ xmin
The left value of the rendered line (main pixel units, no sub-pixels).
◆ xmax
The right value of the rendered line (main pixel units, no sub-pixels).
◆ line
The current vertical line (main pixel units).