#include <c4d_shader.h>
Public Member Functions | |
ChannelData () | |
ChannelData (BaseVolumeData *t_vd) | |
Int32 | GetCurrentCPU () |
Public Attributes | |
Vector | p |
Vector | n |
Vector | d |
Float | t |
Int32 | texflag |
VolumeData * | vd |
Float | off |
Float | scale |
ChannelData | ( | ) |
Default constructor.
|
explicit |
Constructs a ChannelData that matches the current state of a BaseVolumeData.
Int32 GetCurrentCPU | ( | ) |
Retrieves the current thread index on which the shader is executed.
GetCurrentCPU()
exists as a member of ChannelData and VolumeData, both yielding the same results.>= 0
and smaller than the thread count that was passed during InitRender()
. Vector p |
[READ ONLY] The texture position in UVW coordinates.
Vector n |
[READ ONLY] The surface normal.
Vector d |
[READ ONLY] The MIP sample radius in UVW coordinates.
Float t |
[READ ONLY] The current time in seconds.
VolumeData* vd |
[READ ONLY] The volume information, can be nullptr.
Float off |
Float scale |
[READ ONLY] The MIP blur offset.