@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
25 lines (24 loc) • 889 B
TypeScript
/**
* Representation of a shader uniform.
*
* @ignore
*/
export class WebglShaderInput {
/**
* Create a new WebglShaderInput instance.
*
* @param {import('../graphics-device.js').GraphicsDevice} graphicsDevice - The graphics device
* used to manage this shader input.
* @param {string} name - The name of the shader input.
* @param {number} type - The type of the shader input.
* @param {number | WebGLUniformLocation} locationId - The location id of the shader input.
*/
constructor(graphicsDevice: import("../graphics-device.js").GraphicsDevice, name: string, type: number, locationId: number | WebGLUniformLocation);
locationId: number | WebGLUniformLocation;
scopeId: import("../scope-id.js").ScopeId;
version: Version;
dataType: number;
value: any[];
array: any[];
}
import { Version } from '../version.js';