DHART
Loading...
Searching...
No Matches
DHARTAPI.RayTracing.RayResults Class Reference

An array of RayResults stored in unmanaged memory . More...

+ Inheritance diagram for DHARTAPI.RayTracing.RayResults:

Protected Member Functions

override bool ReleaseHandle ()
 Free the array of structs that this pointer points to in native memory. More...
 

Additional Inherited Members

- Public Member Functions inherited from DHARTAPI.NativeUtils.NativeArray< RayResult >
unsafe override string ToString ()
 Get a string representation of this array. More...
 
virtual T[] CopyArray ()
 Copy the unmanaged array pointed to by this object into a managed array. More...
 
bool Equals (NativeArray< T > arr2)
 Check equality of this array and another. More...
 
- Properties inherited from DHARTAPI.NativeUtils.NativeArray< RayResult >
virtual unsafe Span< T > array [get]
 Read only access to this unmanaged array as a span. More...
 
unsafe T this[int key] [get]
 Get the element at location i. More...
 
virtual int size [get]
 The number of elements in the array.
 

Detailed Description

An array of RayResults stored in unmanaged memory .

Member Function Documentation

◆ ReleaseHandle()

override bool DHARTAPI.RayTracing.RayResults.ReleaseHandle ( )
protected

Free the array of structs that this pointer points to in native memory.

Note
the garbage collector will handle this automatically
Warning
Do not attempt to use this class after freeing it!
Returns
True. This is guaranteed to execute properly.

The documentation for this class was generated from the following file: