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 the GPU capabilities. */
export interface Api {
/**
* Are compute shaders supported.
* @returns True when supported, False when not supported.
*/
compute_shader_support_get(...args: any[]): H.Ref<boolean>;
/**
* Get supported extensions in the current context.
* @returns Extensions.
*/
extensions_get(...args: any[]): H.Ref<string[]>;
/**
* Return whether GPU backend supports High Dynamic range for viewport.
* @returns HDR support available.
*/
hdr_support_get(...args: any[]): H.Ref<boolean>;
/**
* Get maximum number of vertex array indices.
* @returns Number of indices.
*/
max_batch_indices_get(...args: any[]): H.Ref<number>;
/**
* Get maximum number of vertex array vertices.
* @returns Number of vertices.
*/
max_batch_vertices_get(...args: any[]): H.Ref<number>;
/**
* Get maximum supported number of image units.
* @returns Number of image units.
*/
max_images_get(...args: any[]): H.Ref<number>;
/**
* Get maximum number of layers in texture.
* @returns Number of layers.
*/
max_texture_layers_get(...args: any[]): H.Ref<number>;
/**
* Get estimated maximum texture size to be able to handle.
* @returns Texture size.
*/
max_texture_size_get(...args: any[]): H.Ref<number>;
/**
* Get maximum supported texture image units used for
* accessing texture maps from the fragment shader.
* @returns Texture image units.
*/
max_textures_frag_get(...args: any[]): H.Ref<number>;
/**
* Get maximum supported texture image units used for
* accessing texture maps from the geometry shader.
* @returns Texture image units.
*/
max_textures_geom_get(...args: any[]): H.Ref<number>;
/**
* Get maximum supported texture image units used for
* accessing texture maps from the vertex shader and the
* fragment processor.
* @returns Texture image units.
*/
max_textures_get(...args: any[]): H.Ref<number>;
/**
* Get maximum supported texture image units used for
* accessing texture maps from the vertex shader.
* @returns Texture image units.
*/
max_textures_vert_get(...args: any[]): H.Ref<number>;
/**
* Get maximum number of values held in uniform variable
* storage for a fragment shader.
* @returns Number of values.
*/
max_uniforms_frag_get(...args: any[]): H.Ref<number>;
/**
* Get maximum number of values held in uniform variable
* storage for a vertex shader.
* @returns Number of values.
*/
max_uniforms_vert_get(...args: any[]): H.Ref<number>;
/**
* Get maximum number of varying variables used by
* vertex and fragment shaders.
* @returns Number of variables.
*/
max_varying_floats_get(...args: any[]): H.Ref<number>;
/**
* Get maximum number of vertex attributes accessible to
* a vertex shader.
* @returns Number of attributes.
*/
max_vertex_attribs_get(...args: any[]): H.Ref<number>;
/**
* Get maximum number of work groups that may be dispatched to a compute shader.
* @returns Maximum number of work groups for the queried dimension.
* @param index Index of the dimension.
*/
max_work_group_count_get(index: H.In<number>): H.Ref<number>;
/**
* Get maximum number of work groups that may be dispatched to a compute shader.
* @returns Maximum number of work groups for the queried dimension.
* @param index Index of the dimension.
*/
max_work_group_count_get(kw: {
/** Index of the dimension. */
index: H.In<number>;
}): H.Ref<number>;
/**
* Get maximum size of a work group that may be dispatched to a compute shader.
* @returns Maximum size of a work group for the queried dimension.
* @param index Index of the dimension.
*/
max_work_group_size_get(index: H.In<number>): H.Ref<number>;
/**
* Get maximum size of a work group that may be dispatched to a compute shader.
* @returns Maximum size of a work group for the queried dimension.
* @param index Index of the dimension.
*/
max_work_group_size_get(kw: {
/** Index of the dimension. */
index: H.In<number>;
}): H.Ref<number>;
/**
* Is image load/store supported.
* @returns True when supported, False when not supported.
*/
shader_image_load_store_support_get(...args: any[]): H.Ref<boolean>;
}