Example #1
0
 public RenderTextureDescriptor(int width, int height)
 {
     this = new RenderTextureDescriptor(width, height, SystemInfo.GetGraphicsFormat(DefaultFormat.LDR), 0, Texture.GenerateAllMips);
 }
Example #2
0
 public Texture2DArray(int width, int height, int depth, DefaultFormat format, TextureCreationFlags flags) : this(width, height, depth, SystemInfo.GetGraphicsFormat(format), flags)
 {
 }
Example #3
0
 public Cubemap(int width, DefaultFormat format, TextureCreationFlags flags)
     : this(width, SystemInfo.GetGraphicsFormat(format), flags)
 {
 }
Example #4
0
 public CustomRenderTexture(int width, int height, DefaultFormat defaultFormat)
     : this(width, height, SystemInfo.GetGraphicsFormat(defaultFormat))
 {
 }
Example #5
0
 public RenderTexture(int width, int height, int depth, DefaultFormat format)
     : this(width, height, depth, SystemInfo.GetGraphicsFormat(format))
 {
 }
Example #6
0
 public SparseTexture(int width, int height, DefaultFormat format, int mipCount)
     : this(width, height, SystemInfo.GetGraphicsFormat(format), mipCount)
 {
 }
Example #7
0
 public CubemapArray(int width, int cubemapCount, DefaultFormat format, TextureCreationFlags flags)
     : this(width, cubemapCount, SystemInfo.GetGraphicsFormat(format), flags)
 {
 }