Sfoglia il codice sorgente

Merge pull request #4127 from TrevorDev/sphericalPolynomialHDRBrokenIOS

docs
sebavan 7 anni fa
parent
commit
8ce2c05d19
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      src/Engine/babylon.engine.ts
  2. 1 0
      src/Tools/babylon.dds.ts

+ 1 - 0
src/Engine/babylon.engine.ts

@@ -5437,6 +5437,7 @@
          * @param onError defines an optional callback raised if there is an issue to load the texture
          * @param format defines the format of the data
          * @param forcedExtension defines the extension to use to pick the right loader
+         * @param createPolynomials if a polynomial sphere should be created for the cube texture
          * @returns the cube texture as an InternalTexture
          */
         public createCubeTexture(rootUrl: string, scene: Nullable<Scene>, files: Nullable<string[]>, noMipmap?: boolean, onLoad: Nullable<(data?: any) => void> = null, onError: Nullable<(message?: string, exception?: any) => void> = null, format?: number, forcedExtension: any = null, createPolynomials = false): InternalTexture {

+ 1 - 0
src/Tools/babylon.dds.ts

@@ -97,6 +97,7 @@
         isCompressed: boolean;
         dxgiFormat: number;
         textureType: number;
+        /** Sphericle polynomial created for the dds texture */
         sphericalPolynomial?: SphericalPolynomial;
     };