예제 #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));
        }
예제 #2
0
 public SingleColorTexture(SingleColorTexture copy)
 {
     Texel = copy.Texel;
 }
예제 #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);
 }
예제 #4
0
 public SingleColorTexture(SingleColorTexture copy)
 {
     Texel = copy.Texel;
 }