ThreePipe
    Preparing search index...

    Variable iMaterialCommonsConst

    iMaterialCommons: {
        customProgramCacheKey: (this: IMaterial) => string;
        getMapsForMaterial: (this: IMaterial) => Set<ITexture<TextureEventMap>>;
        onBeforeCompile: (
            this: IMaterial,
            shader: WebGLProgramParametersWithUniforms,
            renderer: WebGLRenderer,
        ) => void;
        refreshTextureRefs: (this: IMaterial) => void;
        registerMaterialExtensions: (
            this: IMaterial,
            customMaterialExtensions: MaterialExtension[],
        ) => void;
        setDirty: (this: IMaterial, options?: IMaterialSetDirtyOptions) => void;
        threeMaterialInterpolateProps: string[];
        threeMaterialPropList: {
            allowOverride: boolean;
            alphaHash: boolean;
            alphaTest: number;
            alphaToCoverage: boolean;
            blendAlpha: number;
            blendColor: string;
            blendDst: 205;
            blendDstAlpha: null;
            blendEquation: 100;
            blendEquationAlpha: null;
            blending: 1;
            blendSrc: 204;
            blendSrcAlpha: null;
            clipIntersection: boolean;
            clippingPlanes: null;
            clipShadows: boolean;
            colorWrite: boolean;
            depthFunc: 3;
            depthTest: boolean;
            depthWrite: boolean;
            dithering: boolean;
            forceSinglePass: boolean;
            name: string;
            opacity: number;
            polygonOffset: boolean;
            polygonOffsetFactor: number;
            polygonOffsetUnits: number;
            precision: null;
            premultipliedAlpha: boolean;
            shadowSide: null;
            side: 0;
            stencilFail: 7680;
            stencilFunc: 519;
            stencilFuncMask: number;
            stencilRef: number;
            stencilWrite: boolean;
            stencilWriteMask: number;
            stencilZFail: 7680;
            stencilZPass: 7680;
            toneMapped: boolean;
            transparent: boolean;
            userData: {};
            vertexColors: boolean;
            visible: boolean;
        };
        unregisterMaterialExtensions: (
            this: IMaterial,
            customMaterialExtensions: MaterialExtension[],
        ) => void;
        upgradeMaterial: (this: IMaterial) => IMaterial;
    } = ...

    Type declaration

    • ReadonlycustomProgramCacheKey: (this: IMaterial) => string
    • ReadonlygetMapsForMaterial: (this: IMaterial) => Set<ITexture<TextureEventMap>>
    • ReadonlyonBeforeCompile: (
          this: IMaterial,
          shader: WebGLProgramParametersWithUniforms,
          renderer: WebGLRenderer,
      ) => void
    • ReadonlyrefreshTextureRefs: (this: IMaterial) => void
    • ReadonlyregisterMaterialExtensions: (this: IMaterial, customMaterialExtensions: MaterialExtension[]) => void
    • ReadonlysetDirty: (this: IMaterial, options?: IMaterialSetDirtyOptions) => void
    • threeMaterialInterpolateProps: string[]
    • threeMaterialPropList: {
          allowOverride: boolean;
          alphaHash: boolean;
          alphaTest: number;
          alphaToCoverage: boolean;
          blendAlpha: number;
          blendColor: string;
          blendDst: 205;
          blendDstAlpha: null;
          blendEquation: 100;
          blendEquationAlpha: null;
          blending: 1;
          blendSrc: 204;
          blendSrcAlpha: null;
          clipIntersection: boolean;
          clippingPlanes: null;
          clipShadows: boolean;
          colorWrite: boolean;
          depthFunc: 3;
          depthTest: boolean;
          depthWrite: boolean;
          dithering: boolean;
          forceSinglePass: boolean;
          name: string;
          opacity: number;
          polygonOffset: boolean;
          polygonOffsetFactor: number;
          polygonOffsetUnits: number;
          precision: null;
          premultipliedAlpha: boolean;
          shadowSide: null;
          side: 0;
          stencilFail: 7680;
          stencilFunc: 519;
          stencilFuncMask: number;
          stencilRef: number;
          stencilWrite: boolean;
          stencilWriteMask: number;
          stencilZFail: 7680;
          stencilZPass: 7680;
          toneMapped: boolean;
          transparent: boolean;
          userData: {};
          vertexColors: boolean;
          visible: boolean;
      }
    • ReadonlyunregisterMaterialExtensions: (this: IMaterial, customMaterialExtensions: MaterialExtension[]) => void
    • ReadonlyupgradeMaterial: (this: IMaterial) => IMaterial