Navigation: Scripting Reference Manual > Functions & Subroutines > SetActiveRayBufferIndex

 

SetActiveRayBufferIndex

 

Contact Us: fredsupport@photonengr.com

 

Description

Changes the active ray buffer.

 

Syntax

oldBuffer = SetActiveRayBufferIndex ( buffer )

 

Parameters

oldBuffer (Long)

The identifier of the previously active ray buffer.

 

buffer As Long

The identifier of the newly active ray buffer.

 

Remarks

This function changes the active ray buffer. If there is a problem the function returns -1 and does not set an error.

 

See Also

AddRayBuffer

DeleteRayBuffer

GetActiveRayBufferIndex

GetRayBufferCount

Examples

Ray Buffer Handling

 

 

 

 

 

Copyright © Photon Engineering, LLC