Archive for May, 2024

bgfx: has no member VertexDecl

by on May.01, 2024, under News

If you’re having code like this:

static bgfx::VertexDecl ms_decl;

You may encounter the following error message:

namespace “bgfx” has no member “VertexDecl”

The solution is to simply rewrite the code to:

static bgfx::VertexLayout ms_decl;

As it was renamed a while ago:

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!