Return to site

Vec2 pack

broken image
broken image
broken image

flatc -c mygame.fbs), you can now start using this in your program by including the header. If you have not, please see Using the schema compiler and Writing a schema.Īssuming you wrote a schema, say mygame.fbs (though the extension doesn't matter), you've generated a C++ header called mygame_generated.h using the compiler (e.g. This page assumes you have written a FlatBuffers schema and compiled it with the Schema Compiler.

broken image

This page is designed to cover the nuances of FlatBuffers usage, specific to C++. Before diving into the FlatBuffers usage in C++, it should be noted that the Tutorial page has a complete guide to general FlatBuffers usage in all of the supported languages (including C++).