Interface WebGLProgramParametersWithUniforms

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

Hierarchy (view full)

Properties

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

Properties

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