David Catuhe преди 5 години
родител
ревизия
3aac5a0b92

+ 1 - 0
dist/preview release/babylon.d.ts

@@ -15683,6 +15683,7 @@ declare module BABYLON {
          * @param mesh defines the mesh to bind the material to
          */
         bind(world: Matrix, mesh?: Mesh): void;
+        protected _afterBind(mesh?: Mesh): void;
         /**
          * Gets the active textures from the material
          * @returns an array of textures

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
dist/preview release/babylon.js


+ 2 - 0
dist/preview release/babylon.module.d.ts

@@ -16077,6 +16077,7 @@ declare module "babylonjs/Materials/shaderMaterial" {
          * @param mesh defines the mesh to bind the material to
          */
         bind(world: Matrix, mesh?: Mesh): void;
+        protected _afterBind(mesh?: Mesh): void;
         /**
          * Gets the active textures from the material
          * @returns an array of textures
@@ -89989,6 +89990,7 @@ declare module BABYLON {
          * @param mesh defines the mesh to bind the material to
          */
         bind(world: Matrix, mesh?: Mesh): void;
+        protected _afterBind(mesh?: Mesh): void;
         /**
          * Gets the active textures from the material
          * @returns an array of textures

+ 1 - 0
dist/preview release/documentation.d.ts

@@ -15683,6 +15683,7 @@ declare module BABYLON {
          * @param mesh defines the mesh to bind the material to
          */
         bind(world: Matrix, mesh?: Mesh): void;
+        protected _afterBind(mesh?: Mesh): void;
         /**
          * Gets the active textures from the material
          * @returns an array of textures

+ 2 - 0
dist/preview release/viewer/babylon.module.d.ts

@@ -16077,6 +16077,7 @@ declare module "babylonjs/Materials/shaderMaterial" {
          * @param mesh defines the mesh to bind the material to
          */
         bind(world: Matrix, mesh?: Mesh): void;
+        protected _afterBind(mesh?: Mesh): void;
         /**
          * Gets the active textures from the material
          * @returns an array of textures
@@ -89989,6 +89990,7 @@ declare module BABYLON {
          * @param mesh defines the mesh to bind the material to
          */
         bind(world: Matrix, mesh?: Mesh): void;
+        protected _afterBind(mesh?: Mesh): void;
         /**
          * Gets the active textures from the material
          * @returns an array of textures

+ 1 - 2
src/Materials/shaderMaterial.ts

@@ -8,12 +8,11 @@ import { VertexBuffer } from "../Meshes/buffer";
 import { BaseTexture } from "../Materials/Textures/baseTexture";
 import { Texture } from "../Materials/Textures/texture";
 import { MaterialHelper } from "./materialHelper";
-import { IEffectCreationOptions, Effect } from "./effect";
+import { IEffectCreationOptions } from "./effect";
 import { Material } from "./material";
 import { _TypeStore } from '../Misc/typeStore';
 import { Color3, Color4 } from '../Maths/math.color';
 import { EffectFallbacks } from './effectFallbacks';
-import { Nullable } from '../types';
 
 /**
  * Defines the options associated with the creation of a shader material.