@zeainc/zea-ux
Version:
37 lines • 1.13 kB
TypeScript
import { GLShader, Material } from '@zeainc/zea-engine';
/**
* Class representing Handle Shader.
*
* @extends {GLShader}
*/
declare class HandleShader extends GLShader {
/**
* Creates an instance of HandleShader.
*
* @param {*} gl - The gl value
*/
constructor(gl?: any);
/**
* The getPackedMaterialData method.
* @param material - The material param.
* @return - The return value.
*/
static getPackedMaterialData(material: Material): Float32Array;
/**
* Returns whether the shader's overlay is true or not.
*
* @static
* @return {boolean} - The overlay value
*/
static isOverlay(): boolean;
/**
* Each shader provides a template material that each material instance is
* based on. The shader specifies the parameters needed by the shader, and
* the material provides values to the shader during rendering.
* @return {Material} - The template material value.
*/
static getMaterialTemplate(): Material;
}
export default HandleShader;
export { HandleShader };
//# sourceMappingURL=HandleShader.d.ts.map