UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

35 lines (34 loc) 1.28 kB
import type { NodeRenderGraphConnectionPoint, Scene, FrameGraph, NodeRenderGraphBuildState } from "../../../../index.js"; import { NodeRenderGraphBlock } from "../../nodeRenderGraphBlock.js"; import { FrameGraphGenerateMipMapsTask } from "../../../Tasks/Texture/generateMipMapsTask.js"; /** * Block used to generate mipmaps for a texture */ export declare class NodeRenderGraphGenerateMipmapsBlock extends NodeRenderGraphBlock { protected _frameGraphTask: FrameGraphGenerateMipMapsTask; /** * Gets the frame graph task associated with this block */ get task(): FrameGraphGenerateMipMapsTask; /** * Create a new NodeRenderGraphGenerateMipmapsBlock * @param name defines the block name * @param frameGraph defines the hosting frame graph * @param scene defines the hosting scene */ constructor(name: string, frameGraph: FrameGraph, scene: Scene); /** * Gets the current class name * @returns the class name */ getClassName(): string; /** * Gets the target input component */ get target(): NodeRenderGraphConnectionPoint; /** * Gets the output component */ get output(): NodeRenderGraphConnectionPoint; protected _buildBlock(state: NodeRenderGraphBuildState): void; }