Static Public Member Functions | |
static unsafe GraphicsBuffer | ToGraphicsBuffer (this Gradient gradient, int length) |
Allocates a graphics buffer with the given length and initializes it with the gradient values for use with compute shaders. | |
static NativeArray< Color > | ToNativeArray (this Gradient gradient, int length, Allocator allocator=Allocator.TempJob) |
Allocates a native array with the given length and initializes it with the gradient values for use with the Job System. | |
|
static |
Allocates a graphics buffer with the given length and initializes it with the gradient values for use with compute shaders.
gradient | |
length |
|
static |
Allocates a native array with the given length and initializes it with the gradient values for use with the Job System.
gradient | |
length | |
allocator |