babylon.normalMapProceduralTexture.d.ts 1.1 KB

123456789101112131415161718192021222324
  1. declare module BABYLON {
  2. class NormalMapProceduralTexture extends ProceduralTexture {
  3. private _baseTexture;
  4. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  5. updateShaderUniforms(): void;
  6. render(useCameraPostProcess?: boolean): void;
  7. resize(size: any, generateMipMaps: any): void;
  8. baseTexture: Texture;
  9. /**
  10. * Serializes this normal map procedural texture
  11. * @returns a serialized normal map procedural texture object
  12. */
  13. serialize(): any;
  14. /**
  15. * Creates a Normal Map Procedural Texture from parsed normal map procedural texture data
  16. * @param parsedTexture defines parsed texture data
  17. * @param scene defines the current scene
  18. * @param rootUrl defines the root URL containing normal map procedural texture information
  19. * @returns a parsed Normal Map Procedural Texture
  20. */
  21. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): NormalMapProceduralTexture;
  22. }
  23. }