Exemplo n.º 1
0
 public VirtualTextureFormat(VirtualTextureSize size, GraphicsFormat format, string rtName, int mipCount = 0)
 {
     perElementSize = size;
     this.mipCount  = mipCount;
     this.format    = format;
     rtPropertyID   = Shader.PropertyToID(rtName);
 }
 public VirtualTextureFormat(VirtualTextureSize size, RenderTextureFormat format, string rtName)
 {
     perElementSize = size;
     this.format    = format;
     rtPropertyID   = Shader.PropertyToID(rtName);
 }