How do applications store and read GRANITE data?
GRANITE serializes models as a stream of bytes. The application provides callback functions to store these data to whatever file or database is required by the application, and to read the data back from the file or database. Thus, the application has full control over the location and persistence of the data, while the geometric construction and interpretation of the data are handled by GRANITE. The gPlug architecture builds on this concept by allowing any authoring application to create a small piece of code with standardized interfaces that provides access to the GRANITE stream and serves as a plug-in for other applications built on GRANITE.