Exemple #1
0
 public static RenderTextureWrapper GetRenderTexture(int width, int height, int depth, RenderTextureFormat format, RenderTextureReadWrite readWrite)
 {
     RenderTextureWrapper.Param param = new RenderTextureWrapper.Param {
         width     = width,
         height    = height,
         depth     = depth,
         format    = format,
         readWrite = readWrite
     };
     return(GetRenderTexture(param));
 }
Exemple #2
0
 public static RenderTextureWrapper GetRenderTexture(int width, int height, int depth)
 {
     RenderTextureWrapper.Param param = new RenderTextureWrapper.Param {
         width     = width,
         height    = height,
         depth     = depth,
         format    = RenderTextureFormat.ARGB32,
         readWrite = RenderTextureReadWrite.Default
     };
     return(GetRenderTexture(param));
 }