-
首页
-
C4D R23.110 C++ SDK
VPFragment Struct Reference
#include <c4d_shader.h>
详细描述
-
另请参阅
-
VolumeData::GetFragments
Member Data Documentation
◆
id
Fragment ID.
◆
subx
A valid sub-X position that is covered by the fragment; where a ray can safely be created that will intersect the fragment:
0
<=
subx
<=
15
.
◆
suby
A valid sub-Y position that is covered by the fragment; where a ray can safely be created that will intersect the fragment:
0
<=
suby
<=
15
.
◆
weight
The weight of the fragment.
256
=
16x16
= full pixel;
0
= empty pixel.
◆
op
Fragment object.
◆
color
Fragment color.
Z depth at the
subx
/
suby
position.
Global intersection point at the
subx
/
suby
position.
Normal at the
subx
/
suby
position.
◆
next
The next fragment, or
nullptr
if this is the last.