Beispiel #1
0
 public ValueTask set_inputTexture(InternalTexture value)
 {
     __inputTexture = null;
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "inputTexture",
                value
                ));
 }
 public async ValueTask directRender(PostProcess[] postProcesses, InternalTexture targetTexture = null, System.Nullable <bool> forceFullscreenViewport = null, System.Nullable <decimal> faceIndex = null, System.Nullable <decimal> lodLevel = null)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "directRender" }, postProcesses, targetTexture, forceFullscreenViewport, faceIndex, lodLevel
     }
         );
 }
Beispiel #3
0
 public void directRender(PostProcess[] postProcesses, InternalTexture targetTexture = null, System.Nullable <bool> forceFullscreenViewport = null, System.Nullable <decimal> faceIndex = null, System.Nullable <decimal> lodLevel = null, System.Nullable <bool> doNotBindFrambuffer = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "directRender" }, postProcesses, targetTexture, forceFullscreenViewport, faceIndex, lodLevel, doNotBindFrambuffer
     }
         );
 }
Beispiel #4
0
        public ThinTexture(
            InternalTexture internalTexture
            )
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "ThinTexture" },
                internalTexture
                );

            ___guid = entity.___guid;
        }
 public InternalTexture activate(Camera camera, InternalTexture sourceTexture = null, System.Nullable <bool> forceDepthStencil = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <InternalTexture>(
                entity => new InternalTexture()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "activate" }, camera, sourceTexture, forceDepthStencil
     }
                ));
 }
Beispiel #6
0
 public async ValueTask <InternalTexture> get_depthStencilTexture()
 {
     if (__depthStencilTexture == null)
     {
         __depthStencilTexture = await EventHorizonBlazorInterop.GetClass <InternalTexture>(
             this.___guid,
             "depthStencilTexture",
             (entity) =>
         {
             return(new InternalTexture()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__depthStencilTexture);
 }