Navigation: Scripting Reference Manual > Functions & Subroutines > CopyRayBufferToBuffer

 

CopyRayBufferToBuffer

 

Contact Us: fredsupport@photonengr.com

 

Description

Copies a ray from one buffer to another.  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

CopyRayBufferToBuffer iRay, bufSrc, bufDst

 

Parameters

iRay As Long (or Huge_)

The identifier of the ray to be copied.

 

bufSrc As Long

The identifier of the source ray buffer.

 

bufDst As Long

The identifier of the destination ray buffer.

 

Remarks

This subroutine copies a ray from one buffer to another. If there is a problem the subroutine returns without modifying the destination ray buffer.

 

See Also

MoveRayBufferToBuffer

AddRayBuffer

GetRayBufferCount

Examples

Ray Buffer Handling

 

 

 

 

 

Copyright © Photon Engineering, LLC