public static RawTextureDataArray <RgbaFloat> FromSingleColor(RgbaFloat color) { return(new RawTextureDataArray <RgbaFloat>(new[] { color }, 1, 1, RgbaFloat.SizeInBytes, PixelFormat.R32_G32_B32_A32_Float)); }
public VertexPositionColor(Vector3 position, RgbaFloat color) { Position = position; Color = color; }