Method CreateSampleBuffer
CreateSampleBuffer<T>(int)
Creates a float-packed compute buffer for Vista sample data.
public static ComputeBuffer CreateSampleBuffer<T>(int sampleCount)
Parameters
sampleCountintNumber of samples the buffer must contain.
Returns
- ComputeBuffer
A compute buffer sized using the float count of the requested sample type.
Type Parameters
TEither InstanceSample or PositionSample.