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 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 the global GPU compute functions. */
export interface Api {
  /**
   * Dispatches GPU compute.
   * @param shader The shader that you want to dispatch.
   * @param groups_x_len Int for group x length:
   * @param groups_y_len Int for group y length:
   * @param groups_z_len Int for group z length:
   */
  dispatch(shader: P.gpu_types.GPUShader, groups_x_len: H.In<number>, groups_y_len: H.In<number>, groups_z_len: H.In<number>): H.Ref<void>;
  /**
   * Dispatches GPU compute.
   * @param shader The shader that you want to dispatch.
   * @param groups_x_len Int for group x length:
   * @param groups_y_len Int for group y length:
   * @param groups_z_len Int for group z length:
   */
  dispatch(kw: {
    /** The shader that you want to dispatch. */
    shader: P.gpu_types.GPUShader;
    /** Int for group x length: */
    groups_x_len: H.In<number>;
    /** Int for group y length: */
    groups_y_len: H.In<number>;
    /** Int for group z length: */
    groups_z_len: H.In<number>;
  }): H.Ref<void>;
}