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.2 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 GPU Platform definitions. */
export interface Api {
  /**
   * Get active GPU backend.
   * @returns Backend type ('OPENGL', 'VULKAN', 'METAL', 'NONE', 'UNKNOWN').
   */
  backend_type_get(...args: any[]): H.Ref<string>;
  /**
   * Get GPU device type.
   * @returns Device type ('APPLE', 'NVIDIA', 'AMD', 'INTEL', 'SOFTWARE', 'QUALCOMM', 'UNKNOWN').
   */
  device_type_get(...args: any[]): H.Ref<string>;
  /**
   * Get all available GPU devices.
   * @returns List of :class:`GPUDevice` objects for each device.
   */
  devices_get(...args: any[]): H.Ref<any[]>;
  /**
   * Get GPU to be used for rendering.
   * @returns GPU name.
   */
  renderer_get(...args: any[]): H.Ref<string>;
  /**
   * Get GPU vendor.
   * @returns Vendor name.
   */
  vendor_get(...args: any[]): H.Ref<string>;
  /**
   * Get GPU driver version.
   * @returns Driver version.
   */
  version_get(...args: any[]): H.Ref<string>;
}