Exemplo n.º 1
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));
        }
Exemplo n.º 2
0
 public SingleColorTexture(SingleColorTexture copy)
 {
     Texel = copy.Texel;
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
0
 public SingleColorTexture(SingleColorTexture copy)
 {
     Texel = copy.Texel;
 }