public static void PrepareUniformBuffer(UniformBuffer uniformBuffer)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { "BABYLON", "DetailMapConfiguration", "PrepareUniformBuffer" }, uniformBuffer
     }
         );
 }
Example #2
0
 public async ValueTask bindSceneUniformBuffer(Effect effect, UniformBuffer sceneUbo)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "bindSceneUniformBuffer" }, effect, sceneUbo
     }
         );
 }
 public void bindForSubMesh(UniformBuffer uniformBuffer, Scene scene, bool isFrozen)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "bindForSubMesh" }, uniformBuffer, scene, isFrozen
     }
         );
 }