sdfsdfs
This commit is contained in:
54
node_modules/pixi.js/lib/rendering/renderers/gpu/state/GpuStateSystem.d.ts
generated
vendored
Normal file
54
node_modules/pixi.js/lib/rendering/renderers/gpu/state/GpuStateSystem.d.ts
generated
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
/// <reference types="@webgpu/types" />
|
||||
import { ExtensionType } from '../../../../extensions/Extensions';
|
||||
import { State } from '../../shared/state/State';
|
||||
import type { BLEND_MODES } from '../../shared/state/const';
|
||||
import type { System } from '../../shared/system/System';
|
||||
import type { GPU } from '../GpuDeviceSystem';
|
||||
/**
|
||||
* System plugin to the renderer to manage WebGL state machines.
|
||||
* @memberof rendering
|
||||
*/
|
||||
export declare class GpuStateSystem implements System {
|
||||
/** @ignore */
|
||||
static extension: {
|
||||
readonly type: readonly [ExtensionType.WebGPUSystem];
|
||||
readonly name: "state";
|
||||
};
|
||||
/**
|
||||
* State ID
|
||||
* @readonly
|
||||
*/
|
||||
stateId: number;
|
||||
/**
|
||||
* Polygon offset
|
||||
* @readonly
|
||||
*/
|
||||
polygonOffset: number;
|
||||
/**
|
||||
* Blend mode
|
||||
* @default 'none'
|
||||
* @readonly
|
||||
*/
|
||||
blendMode: BLEND_MODES;
|
||||
/** Whether current blend equation is different */
|
||||
protected _blendEq: boolean;
|
||||
/**
|
||||
* GL context
|
||||
* @member {WebGLRenderingContext}
|
||||
* @readonly
|
||||
*/
|
||||
protected gpu: GPU;
|
||||
/**
|
||||
* Default WebGL State
|
||||
* @readonly
|
||||
*/
|
||||
protected defaultState: State;
|
||||
constructor();
|
||||
protected contextChange(gpu: GPU): void;
|
||||
/**
|
||||
* Gets the blend mode data for the current state
|
||||
* @param state - The state to get the blend mode from
|
||||
*/
|
||||
getColorTargets(state: State): GPUColorTargetState[];
|
||||
destroy(): void;
|
||||
}
|
Reference in New Issue
Block a user