コード例 #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
     }
         );
 }
コード例 #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
     }
         );
 }
コード例 #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
     }
                ));
 }
コード例 #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);
 }