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