Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C#] Image.CompressMode lacks Astc #76013

Closed
ChloePrime opened this issue Apr 13, 2023 · 1 comment · Fixed by #76014
Closed

[C#] Image.CompressMode lacks Astc #76013

ChloePrime opened this issue Apr 13, 2023 · 1 comment · Fixed by #76014

Comments

@ChloePrime
Copy link

ChloePrime commented Apr 13, 2023

Godot version

Godot_v4.0.2-stable_mono_win64

System information

Windows 11 22H2

Issue description

enum CompressMode in C# glue lacks the Astc option
image

Steps to reproduce

  1. Download godot mono version.
  2. use some IDE to see the C# glue source code, search CompressMode and jump to that class.
  3. see the lackage of Astc option.

Minimal reproduction project

N/A

Workaround

use Image.CompressMode.Bptc + 1 instead of the non-existing Image.CompressMode.Astc

@AThousandShips
Copy link
Member

That's because the constant isn't bound in ClassDB for some reason, so it's not exposed to GDScript either, will see about a fix, is easy and assuming it's just an oversight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants