コード例 #1
0
 public SingleColorTexture(SingleColorTexture copy)
 {
     Texel = copy.Texel;
 }
コード例 #2
0
 public static ITexture Construct(SingleColorTexture metaResource)
 {
     var r = new Texel.A8R8G8B8[1, 1];
     r[0, 0] = metaResource.Texel;
     return new Texture<Texel.A8R8G8B8>(r);
 }