registerBuiltinComponentCodecs function

void registerBuiltinComponentCodecs(
  1. FsceneComponentRegistry registry
)

Registers the component codecs the format ships with (mesh, directional light, camera) into registry.

Implementation

void registerBuiltinComponentCodecs(FsceneComponentRegistry registry) {
  registry
    ..register(MeshCodec())
    ..register(DirectionalLightCodec())
    ..register(CameraCodec());
}