Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

1.3 KB
Raw Blame
// Generated by raea-bevy-sdk from raea's Bevy App's TypeRegistry (asset_loader (bevy_asset_loader)); don't edit, regenerate
// (tools/bevy-plugins.sh gen). .
// - In a scene (TSX): 0 wrappers, each a <BevyComponent> (or <BevyResource>) naming its type path, which raea-render
//   applies with ReflectComponent::insert. Put a component inside the <Mesh3d> it belongs to; <AssetLoaderSettings> sets the
//   plugin's resources.
// - In a TypeScript program (raea/bevy's BevyApp): `asset_loader` holds a typed handle for every component,
//   resource, event, message and state, to spawn, insert, get, trigger, write, observe and set.
import { BevyComponent, BevyResource } from "raea/3d";
import { component, resource, event, message, state } from "raea/bevy";

/** asset_loader's settings: each one given is its resource, set at load (left out, the plugin's default). */
export function AssetLoaderSettings(props: {
  /* no reflected resources */
}) {
  return (
    <>

    </>
  );
}

/** Typed handles for a TypeScript App (raea/bevy): `app.spawn(with(asset_loader.X, value))`, `app.trigger(asset_loader.E, value)`. */
export const assetLoader = {
  plugin: "asset_loader" as const,

};

void BevyResource;
void BevyComponent;
void component;
void resource;
void event;
void message;
void state;