private void SetListForChannel <T>(VertexAttribute channel, InternalVertexChannelType format, int dim, List <T> values) { SetSizedArrayForChannel(channel, format, dim, NoAllocHelpers.ExtractArrayFromList(values), NoAllocHelpers.SafeLength(values)); }
private void SetListForChannel <T>(VertexAttribute channel, List <T> values) { SetSizedArrayForChannel(channel, InternalVertexChannelType.Float, DefaultDimensionForChannel(channel), NoAllocHelpers.ExtractArrayFromList(values), NoAllocHelpers.SafeLength(values)); }
private void SetListForChannel <T>(Mesh.InternalShaderChannel channel, Mesh.InternalVertexChannelType format, int dim, List <T> values) { this.SetSizedArrayForChannel(channel, format, dim, NoAllocHelpers.ExtractArrayFromList(values), NoAllocHelpers.SafeLength <T>(values)); }
private void SetListForChannel <T>(Mesh.InternalShaderChannel channel, List <T> values) { this.SetSizedArrayForChannel(channel, Mesh.InternalVertexChannelType.Float, Mesh.DefaultDimensionForChannel(channel), NoAllocHelpers.ExtractArrayFromList(values), NoAllocHelpers.SafeLength <T>(values)); }
public void SetMatrixArray(int nameID, List <Matrix4x4> values) { this.SetMatrixArray(nameID, (Matrix4x4[])NoAllocHelpers.ExtractArrayFromList(values), values.Count); }
public static T[] ExtractArrayFromListT <T>(List <T> list) { return((T[])NoAllocHelpers.ExtractArrayFromList(list)); }
public void SetVectorArray(int nameID, List <Vector4> values) { this.SetVectorArray(nameID, (Vector4[])NoAllocHelpers.ExtractArrayFromList(values), values.Count); }
public void SetColorArray(int nameID, List <Color> values) { this.SetColorArray(nameID, (Color[])NoAllocHelpers.ExtractArrayFromList(values), values.Count); }
public void SetFloatArray(int nameID, List <float> values) { this.SetFloatArray(nameID, (float[])NoAllocHelpers.ExtractArrayFromList(values), values.Count); }
private void SetListForChannel <T>(VertexAttribute channel, List <T> values, int start, int length) { SetSizedArrayForChannel(channel, VertexAttributeFormat.Float32, DefaultDimensionForChannel(channel), NoAllocHelpers.ExtractArrayFromList(values), NoAllocHelpers.SafeLength(values), start, length); }
private void SetListForChannel <T>(VertexAttribute channel, VertexAttributeFormat format, int dim, List <T> values, int start, int length) { SetSizedArrayForChannel(channel, format, dim, NoAllocHelpers.ExtractArrayFromList(values), NoAllocHelpers.SafeLength(values), start, length); }