What is the texture size limit for avalonia? #20720
Replies: 3 comments 3 replies
-
|
Most likely not an Avalonia limitation but one for the GPU. |
Beta Was this translation helpful? Give feedback.
-
|
@LaurentInSeattle doesn't avalonia ui use a software renderer though? |
Beta Was this translation helpful? Give feedback.
-
|
You'll hit the default limit at about 28mb altogether unless you customize the GPU size at startup. .With(new SkiaOptions()
{
MaxGpuResourceSizeBytes = 4096 * 4096 * 4 // Could be a lot bigger
})Besides that, I don't think there are any practical limits from either Avalonia or Skia. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make a really big tileset but have it long ways instead of a unit square.
So instead of something like 10241024 something like 2564096.
But even a height of 4096 is kinda small that's only 16 256256 tile pages. I was wondering if it's possible to do something like a 25665536 texture?
That would be 256 256*256 tile pages.
Memory optimization can be done later through disk io.
Beta Was this translation helpful? Give feedback.
All reactions