Navigation: Scripting Reference Manual > Functions & Subroutines > GetRayBufferLiveRayCount

 

GetRayBufferLiveRayCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Returns the number of "Live" rays in a specified buffer.  Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long.  Please see Multi-threaded Raytracing for more information.

 

Syntax

count = GetRayBufferLiveRayCount( id )

 

Parameters

count (Long or Huge_)

Number of "Live" rays in buffer.

 

id As Long

Ray buffer identifier.

 

Remarks

Returns the number of "Live" rays in a specified buffer.

 

See Also

IsRayLive

GetLiveRayCount

GetAuxRayBufferLiveRayCount

 

 

 

 

 

Copyright © Photon Engineering, LLC