CompactRay.__init__
- raytracing.compact.CompactRay.__init__(self, raysSource, index)
Create a view for one ray inside the shared buffer.
- Parameters:
raysSource (CompactRays) – The buffer that holds all ray data contiguously in memory.
index (int) – Which ray in the buffer this view refers to (0-based).