|
How do I get a texture's dimensions in BGFX? Since the shader language is supposed to be "GLSL-like," I tried textureSize(), but that results in a D3DCompile error. I see there's a function named bgfxTextureSize() in bgfx_shader.sh, but trying to invoke it results in a "no function with name..." compile error. (?!) |
Answered by
ChthonVII
Mar 7, 2023
Replies: 2 comments
|
|
0 replies
|
julianxhokaxhiu figured it out: textureSize() works with everything except D3D9. |
0 replies
Answer selected by
ChthonVII
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
julianxhokaxhiu figured it out: textureSize() works with everything except D3D9.