import { TextureBase } from '@awayjs/renderer'; import { MethodBase, _Shader_MethodBase } from './MethodBase'; /** * EffectEnvMapMethod provides a material method to perform reflection mapping using cube maps. */ export declare class EffectEnvMapMethod extends MethodBase { private _envMap; private _mask; private _alpha; static assetType: string; /** * @inheritDoc */ get assetType(): string; /** * The cubic environment map containing the reflected scene. */ get envMap(): TextureBase; set envMap(value: TextureBase); /** * An optional texture to modulate the reflectivity of the surface. */ get mask(): TextureBase; set mask(value: TextureBase); /** * The reflectivity of the surface. */ get alpha(): number; set alpha(value: number); /** * @inheritDoc */ dispose(): void; /** * Creates an EffectEnvMapMethod object. * @param envMap The environment map containing the reflected scene. * @param alpha The reflectivity of the surface. */ constructor(envMap: TextureBase, alpha?: number); } import { ShaderRegisterCache, ShaderRegisterData, ShaderRegisterElement } from '@awayjs/stage'; import { ShaderBase, _Render_RenderableBase, _Shader_TextureBase, ChunkVO } from '@awayjs/renderer'; /** * _Shader_EffectEnvMapMethod provides a material method to perform reflection mapping using cube maps. */ export declare class _Shader_EffectEnvMapMethod extends _Shader_MethodBase { protected _method: EffectEnvMapMethod; protected _shader: ShaderBase; protected _envMap: _Shader_TextureBase; protected _maskMap: _Shader_TextureBase; protected _fragmentIndex: number; /** * Creates a new _Shader_EffectEnvMapMethod. */ init(method: EffectEnvMapMethod, shader: ShaderBase): void; /** * @inheritDoc */ _initVO(chunkVO: ChunkVO): void; /** * @inheritDoc */ _initConstants(): void; /** * @inheritDoc */ dispose(): void; /** * @inheritDoc */ _activate(): void; _setRenderState(renderState: _Render_RenderableBase): void; /** * @inheritDoc */ _getFragmentCode(targetReg: ShaderRegisterElement, registerCache: ShaderRegisterCache, sharedRegisters: ShaderRegisterData): string; protected _updateProperties(): void; } //# sourceMappingURL=EffectEnvMapMethod.d.ts.map