I looked through what I thought was the complete Urho3D source code, but couldn’t find the values 6408 nor 6410 for the OpenGL formats for RGBA(6408) and AlphaLuminance(6410).
I’m wondering where if these exist in the code anywhere, or are they pulled from some other dependency? I was trying to look up viable Formats for Textures.
I was trying to find an equivalent for DX RG16_UNormalized (value 35) for OpenGL. I think the only option might be AlphaLuminance.
So my question is more regarding “how do you see the full list of OpenGL format options?” Or maybe there’s a link on the internet that shows this. The links I found showed values that are rejected by UrhoSharp (gives “failed to create texture” errors). So I’m sorta lost on how to figure out this list.
The “CompressedFormats” enum, for example doesn’t seem to include AlphaLuminance. I just lucked onto finding this in another OpenGL link, and tried it, and it accepts this value without error.