An array of RayResults stored in unmanaged memory .
More...
|
override bool | ReleaseHandle () |
| Free the array of structs that this pointer points to in native memory. More...
|
|
|
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...
|
|
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.
|
|
An array of RayResults stored in unmanaged memory .
◆ 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:
- src/Csharp/packages/raytracer/src/RayResultStructs.cs