interface WebGLProgramParameters {
    alphaHash: boolean;
    alphaMap: boolean;
    alphaMapUv: string | false;
    alphaTest: boolean;
    anisotropy: boolean;
    anisotropyMap: boolean;
    anisotropyMapUv: string | false;
    aoMap: boolean;
    aoMapUv: string | false;
    batching: boolean;
    bumpMap: boolean;
    bumpMapUv: string | false;
    clearcoat: boolean;
    clearcoatMap: boolean;
    clearcoatMapUv: string | false;
    clearcoatNormalMap: boolean;
    clearcoatNormalMapUv: string | false;
    clearcoatRoughnessMap: boolean;
    clearcoatRoughnessMapUv: string | false;
    combine: undefined | Combine;
    customFragmentShaderID: undefined | string;
    customProgramCacheKey: string;
    customVertexShaderID: undefined | string;
    decodeVideoTexture: boolean;
    defines: undefined | {
        [define: string]: string | number | boolean;
    };
    depthPacking: 0 | DepthPackingStrategies;
    displacementMap: boolean;
    displacementMapUv: string | false;
    dithering: boolean;
    doubleSided: boolean;
    emissiveMap: boolean;
    emissiveMapUv: string | false;
    envMap: boolean;
    envMapCubeUVHeight: null | number;
    envMapMode: false | Mapping;
    extensionClipCullDistance: boolean;
    extensionDerivatives: boolean;
    extensionDrawBuffers: boolean;
    extensionFragDepth: boolean;
    extensionShaderTextureLOD: boolean;
    flatShading: boolean;
    flipSided: boolean;
    fog: boolean;
    fogExp2: null | boolean;
    fragmentShader: string;
    glslVersion: undefined | null | GLSLVersion;
    gradientMap: boolean;
    index0AttributeName: undefined | string;
    instancing: boolean;
    instancingColor: boolean;
    iridescence: boolean;
    iridescenceMap: boolean;
    iridescenceMapUv: string | false;
    iridescenceThicknessMap: boolean;
    iridescenceThicknessMapUv: string | false;
    isRawShaderMaterial: boolean;
    isWebGL2: boolean;
    lightMap: boolean;
    lightMapUv: string | false;
    logarithmicDepthBuffer: boolean;
    map: boolean;
    mapUv: string | false;
    matcap: boolean;
    metalnessMap: boolean;
    metalnessMapUv: string | false;
    morphColors: boolean;
    morphNormals: boolean;
    morphTargets: boolean;
    morphTargetsCount: number;
    morphTextureStride: number;
    normalMap: boolean;
    normalMapObjectSpace: boolean;
    normalMapTangentSpace: boolean;
    normalMapUv: string | false;
    numClipIntersection: number;
    numClippingPlanes: number;
    numDirLightShadows: number;
    numDirLights: number;
    numHemiLights: number;
    numLightProbes: number;
    numPointLightShadows: number;
    numPointLights: number;
    numRectAreaLights: number;
    numSpotLightMaps: number;
    numSpotLightShadows: number;
    numSpotLightShadowsWithMaps: number;
    numSpotLights: number;
    opaque: boolean;
    outputColorSpace: ColorSpace;
    pointsUvs: boolean;
    precision: "highp" | "mediump" | "lowp";
    premultipliedAlpha: boolean;
    rendererExtensionDrawBuffers: boolean;
    rendererExtensionFragDepth: boolean;
    rendererExtensionParallelShaderCompile: boolean;
    rendererExtensionShaderTextureLod: boolean;
    roughnessMap: boolean;
    roughnessMapUv: string | false;
    shaderID: string;
    shaderName: string;
    shaderType: string;
    shadowMapEnabled: boolean;
    shadowMapType: ShadowMapType;
    sheen: boolean;
    sheenColorMap: boolean;
    sheenColorMapUv: string | false;
    sheenRoughnessMap: boolean;
    sheenRoughnessMapUv: string | false;
    sizeAttenuation: boolean;
    skinning: boolean;
    specularColorMap: boolean;
    specularColorMapUv: string | false;
    specularIntensityMap: boolean;
    specularIntensityMapUv: string | false;
    specularMap: boolean;
    specularMapUv: string | false;
    supportsVertexTextures: boolean;
    thicknessMap: boolean;
    thicknessMapUv: string | false;
    toneMapping: ToneMapping;
    transmission: boolean;
    transmissionMap: boolean;
    transmissionMapUv: string | false;
    useDepthPacking: boolean;
    useFog: boolean;
    useLegacyLights: boolean;
    vertexAlphas: boolean;
    vertexColors: boolean;
    vertexShader: string;
    vertexTangents: boolean;
    vertexUv1s: boolean;
    vertexUv2s: boolean;
    vertexUv3s: boolean;
}

Hierarchy (view full)

Properties

alphaHash alphaMap alphaMapUv alphaTest anisotropy anisotropyMap anisotropyMapUv aoMap aoMapUv batching bumpMap bumpMapUv clearcoat clearcoatMap clearcoatMapUv clearcoatNormalMap clearcoatNormalMapUv clearcoatRoughnessMap clearcoatRoughnessMapUv combine customFragmentShaderID customProgramCacheKey customVertexShaderID decodeVideoTexture defines depthPacking displacementMap displacementMapUv dithering doubleSided emissiveMap emissiveMapUv envMap envMapCubeUVHeight envMapMode extensionClipCullDistance extensionDerivatives extensionDrawBuffers extensionFragDepth extensionShaderTextureLOD flatShading flipSided fog fogExp2 fragmentShader glslVersion gradientMap index0AttributeName instancing instancingColor iridescence iridescenceMap iridescenceMapUv iridescenceThicknessMap iridescenceThicknessMapUv isRawShaderMaterial isWebGL2 lightMap lightMapUv logarithmicDepthBuffer map mapUv matcap metalnessMap metalnessMapUv morphColors morphNormals morphTargets morphTargetsCount morphTextureStride normalMap normalMapObjectSpace normalMapTangentSpace normalMapUv numClipIntersection numClippingPlanes numDirLightShadows numDirLights numHemiLights numLightProbes numPointLightShadows numPointLights numRectAreaLights numSpotLightMaps numSpotLightShadows numSpotLightShadowsWithMaps numSpotLights opaque outputColorSpace pointsUvs precision premultipliedAlpha rendererExtensionDrawBuffers rendererExtensionFragDepth rendererExtensionParallelShaderCompile rendererExtensionShaderTextureLod roughnessMap roughnessMapUv shaderID shaderName shaderType shadowMapEnabled shadowMapType sheen sheenColorMap sheenColorMapUv sheenRoughnessMap sheenRoughnessMapUv sizeAttenuation skinning specularColorMap specularColorMapUv specularIntensityMap specularIntensityMapUv specularMap specularMapUv supportsVertexTextures thicknessMap thicknessMapUv toneMapping transmission transmissionMap transmissionMapUv useDepthPacking useFog useLegacyLights vertexAlphas vertexColors vertexShader vertexTangents vertexUv1s vertexUv2s vertexUv3s

Properties

alphaHash: boolean
alphaMap: boolean
alphaMapUv: string | false
alphaTest: boolean
anisotropy: boolean
anisotropyMap: boolean
anisotropyMapUv: string | false
aoMap: boolean
aoMapUv: string | false
batching: boolean
bumpMap: boolean
bumpMapUv: string | false
clearcoat: boolean
clearcoatMap: boolean
clearcoatMapUv: string | false
clearcoatNormalMap: boolean
clearcoatNormalMapUv: string | false
clearcoatRoughnessMap: boolean
clearcoatRoughnessMapUv: string | false
combine: undefined | Combine
customFragmentShaderID: undefined | string
customProgramCacheKey: string
customVertexShaderID: undefined | string
decodeVideoTexture: boolean
defines: undefined | {
    [define: string]: string | number | boolean;
}

Type declaration

  • [define: string]: string | number | boolean
depthPacking: 0 | DepthPackingStrategies
displacementMap: boolean
displacementMapUv: string | false
dithering: boolean
doubleSided: boolean
emissiveMap: boolean
emissiveMapUv: string | false
envMap: boolean
envMapCubeUVHeight: null | number
envMapMode: false | Mapping
extensionClipCullDistance: boolean
extensionDerivatives: boolean
extensionDrawBuffers: boolean
extensionFragDepth: boolean
extensionShaderTextureLOD: boolean
flatShading: boolean
flipSided: boolean
fog: boolean
fogExp2: null | boolean
fragmentShader: string
glslVersion: undefined | null | GLSLVersion
gradientMap: boolean
index0AttributeName: undefined | string
instancing: boolean
instancingColor: boolean
iridescence: boolean
iridescenceMap: boolean
iridescenceMapUv: string | false
iridescenceThicknessMap: boolean
iridescenceThicknessMapUv: string | false
isRawShaderMaterial: boolean
isWebGL2: boolean
lightMap: boolean
lightMapUv: string | false
logarithmicDepthBuffer: boolean
map: boolean
mapUv: string | false
matcap: boolean
metalnessMap: boolean
metalnessMapUv: string | false
morphColors: boolean
morphNormals: boolean
morphTargets: boolean
morphTargetsCount: number
morphTextureStride: number
normalMap: boolean
normalMapObjectSpace: boolean
normalMapTangentSpace: boolean
normalMapUv: string | false
numClipIntersection: number
numClippingPlanes: number
numDirLightShadows: number
numDirLights: number
numHemiLights: number
numLightProbes: number
numPointLightShadows: number
numPointLights: number
numRectAreaLights: number
numSpotLightMaps: number
numSpotLightShadows: number
numSpotLightShadowsWithMaps: number
numSpotLights: number
opaque: boolean
outputColorSpace: ColorSpace
pointsUvs: boolean
precision: "highp" | "mediump" | "lowp"
premultipliedAlpha: boolean
rendererExtensionDrawBuffers: boolean
rendererExtensionFragDepth: boolean
rendererExtensionParallelShaderCompile: boolean
rendererExtensionShaderTextureLod: boolean
roughnessMap: boolean
roughnessMapUv: string | false
shaderID: string
shaderName: string
shaderType: string
shadowMapEnabled: boolean
shadowMapType: ShadowMapType
sheen: boolean
sheenColorMap: boolean
sheenColorMapUv: string | false
sheenRoughnessMap: boolean
sheenRoughnessMapUv: string | false
sizeAttenuation: boolean
skinning: boolean
specularColorMap: boolean
specularColorMapUv: string | false
specularIntensityMap: boolean
specularIntensityMapUv: string | false
specularMap: boolean
specularMapUv: string | false
supportsVertexTextures: boolean
thicknessMap: boolean
thicknessMapUv: string | false
toneMapping: ToneMapping
transmission: boolean
transmissionMap: boolean
transmissionMapUv: string | false
useDepthPacking: boolean
useFog: boolean
useLegacyLights: boolean
vertexAlphas: boolean
vertexColors: boolean
vertexShader: string
vertexTangents: boolean
vertexUv1s: boolean
vertexUv2s: boolean
vertexUv3s: boolean