예제 #1
0
 public TextureAtlas2d(int width, int height, string description, TextureOptions textureOptions = null, int padding = 0)
     : this(Texture2d.Create(new Color4(0, 0, 0, 0), description, width, height, textureOptions), padding)
 {
 }
예제 #2
0
 public TextureAtlas2d(Texture2d texture, int padding = 0)
 {
     this.texture = texture;
     this.padding = padding;
 }