Skip to content

Commit 54ba463

Browse files
committed
Update sample
1 parent 1967ae1 commit 54ba463

File tree

3 files changed

+4
-308
lines changed

3 files changed

+4
-308
lines changed

Assets/CustomTextureRenderer.Samples/Sample.unity

Lines changed: 0 additions & 301 deletions
This file was deleted.

Assets/CustomTextureRenderer.Samples/Sample.unity.meta

Lines changed: 0 additions & 7 deletions
This file was deleted.

Assets/CustomTextureRenderer.Samples/Test.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ enum TextureSize
1515
_256x256,
1616
_512x512,
1717
_1024x1024,
18+
_2048x2048,
19+
_4096x4096,
1820
}
1921

2022
[SerializeField] TextureSize _textureSize;
@@ -35,6 +37,8 @@ void Start()
3537
TextureSize._256x256 => 256,
3638
TextureSize._512x512 => 512,
3739
TextureSize._1024x1024 => 1024,
40+
TextureSize._2048x2048 => 2048,
41+
TextureSize._4096x4096 => 4096,
3842
_ => 64,
3943
};
4044

0 commit comments

Comments
 (0)