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.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";
import type * as P from "../py";
/**
* This module provides access to Blender's bmesh data structures.
*
* .. include:: include__bmesh.rst
*/
export interface Api {
/**
* Return a BMesh from this mesh, currently the mesh must already be in editmode.
* @returns the BMesh associated with this mesh.
* @param mesh The editmode mesh.
*/
from_edit_mesh(mesh: R.Mesh): H.Ptr<P.bmesh_types.BMesh>;
/**
* Return a BMesh from this mesh, currently the mesh must already be in editmode.
* @returns the BMesh associated with this mesh.
* @param mesh The editmode mesh.
*/
from_edit_mesh(kw: {
/** The editmode mesh. */
mesh: R.Mesh;
}): H.Ptr<P.bmesh_types.BMesh>;
readonly geometry: P.bmesh_geometry.Api;
/** @returns Return a new, empty BMesh. */
"new"(kw?: {
/** Support calling operators in :mod:`bmesh.ops` (uses some extra memory per vert/edge/face). */
use_operators?: H.In<boolean>;
}): H.Ptr<P.bmesh_types.BMesh>;
readonly ops: P.bmesh_ops.Api;
readonly types: P.bmesh_types.Api;
/**
* Update the mesh after changes to the BMesh in editmode,
* optionally recalculating n-gon tessellation.
* @param mesh The editmode mesh.
*/
update_edit_mesh(mesh: R.Mesh, kw?: {
/** Option to recalculate n-gon tessellation. */
loop_triangles?: H.In<boolean>;
/** Use when geometry has been added or removed. */
destructive?: H.In<boolean>;
}): H.Ref<void>;
/**
* Update the mesh after changes to the BMesh in editmode,
* optionally recalculating n-gon tessellation.
* @param mesh The editmode mesh.
*/
update_edit_mesh(kw: {
/** The editmode mesh. */
mesh: R.Mesh;
/** Option to recalculate n-gon tessellation. */
loop_triangles?: H.In<boolean>;
/** Use when geometry has been added or removed. */
destructive?: H.In<boolean>;
}): H.Ref<void>;
readonly utils: P.bmesh_utils.Api;
}