public async ValueTask 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)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "directRender" }, postProcesses, targetTexture, forceFullscreenViewport, faceIndex, lodLevel, doNotBindFrambuffer
     }
         );
 }
 public ValueTask set_inputTexture(InternalTexture value)
 {
     __inputTexture = null;
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "inputTexture",
                value
                ));
 }
Ejemplo n.º 3
0
        public static async ValueTask <ThinTexture> NewThinTexture(
            InternalTexture internalTexture
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "ThinTexture" },
                internalTexture
                );

            return(new ThinTexture(entity));
        }
Ejemplo n.º 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
     }
                ));
 }
 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);
 }