![]() | JobsUtilities Class |
Namespace: DustProductions.Core
public static class JobsUtilities
The JobsUtilities type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | GetOptimalBatchCountForProcessorCount |
Determines how to distribute a job based on the desired minimum items to run per job and logical cpu cores available to the .NET runtime.
|
![]() ![]() | GetOptimalBatchCountForProcessorsT |
Determines how to distribute a job based on the desired minimum items to run per job and logical cpu cores available to the .NET runtime.
|
![]() ![]() | TryAddValuesFromColor |
Add the values of r, g, b, a from a Color to a NativeArray.
|
![]() ![]() | TryAddValuesFromColors |
Add the values of r, g, b, a from an array of Colors to a NativeArray.
|
![]() ![]() | TryAddValuesFromVector3 |
Add the values of x, y, and z from a Vector3 to a NativeArray.
|
![]() ![]() | TryAddValuesFromVector3s |
Add the values of x, y, and z from an array of Vector3s to a NativeArray.
|
![]() ![]() | TryDeallocateT |
Disposes of a NativeArray if it has been created.
|
![]() ![]() | TrySplitColorsIntoNativeArrays |
Take an array of Colors and try to split it into 4 NativeArrays for r, g, b, and a values.
|
![]() ![]() | TrySplitVector3sIntoNativeArrays |
Take an array of Vector3s and try to split it into 3 NativeArrays for x, y, and z values.
|