Gorilla.G3D.Types

Unit Gorilla.G3D.Types.pas

Records

Enumerations

Constants

  • const GORILLA_G3D_VERSION : Integer = $1;

TGorillaG3DFormat

enum TGorillaG3DFormat = ( BSONFormat, JSONFormat ) ;

G3D file format It is possible to store data as BSON (binary json format) or as default json format. For JSON we can also define if we want to store as beautified json-code or not.

TGorillaG3DOption

enum TGorillaG3DOption = ( None, Zipped, Beautified, FastestCompression, MaxCompression ) ;

By G3D options we can adjust the format we are using.

Zipped: Store as zipped data stream. You can extend this option by the FastestCompression or MaxCompression option. If none of them is set, the exporter will use default compression.

Beautified: The Beautified-Option defines if the json code is exported with linebreaks and indents or not. This option has no influence on bson format.

FastestCompression: If the Zipped-Option is set, this option will choose the fastest algorithm for packing the data stream.

MaxCompression: If the Zipped-Option is set, this option will chose the maximum compression algorithm for packing the data stream.