大约有 79 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0058 秒)
...wnRenderTexture,null,blurMaterial,0); //创建降采样RenderTexture2 var blurTexture:Laya.RenderTexture = Laya.RenderTexture.createFromPool(downSampleWidth,downSampleheigh,Laya.RenderTextureFormat.R8G8B8,Laya.RenderTextureDepthFormat.DEPTHSTENCIL_NONE); ...
来源: Laya_社区 发布时间: 20210203
...。 this._drawRenderTexture(src._targets, x, y, width, height, null, 1.0, RenderTexture2D.flipyuv); this._curSubmit = SubmitBase.RENDERBASE; 这里当该bitmap节点下面的所有子节点隐藏时,为src._submits._length 等于0。 _targets并没有清空,而是用了上一次的绘制结...
来源: Laya_社区 发布时间: 20210527
...。 this._drawRenderTexture(src._targets, x, y, width, height, null, 1.0, RenderTexture2D.flipyuv); this._curSubmit = SubmitBase.RENDERBASE; 这里当该bitmap节点下面的所有子节点隐藏时,为src._submits._length 等于0。 _targets并没有清空,而是用了上一次的绘制结...
来源: Laya_社区 发布时间: 20210527
...height, 0, 0) as Laya.HTMLCanvas let tex = htmlCanvas.getTexture() as Laya.RenderTexture2D if (tex) { let u8 = tex.getData(0, 0, tex.width, tex.height) let u = new Uint8Array(u8.length) let len = u8.length / 4 let i = 0 for (let x = len; x >= 0; x--) { for (let y = 0; y < 4; y++) { u[i * 4 + y...
来源: Laya_社区 发布时间: 20210911
... Returns number 内存大小。 getTexture getTexture(): Texture | null | RenderTexture2D Defined in laya/resource/HTMLCanvas.ts:178 获取texture实例 Returns Texture | null | RenderTexture2D hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...lic class BaseTextureInheritanceBaseTexture laya.resource.BitmapSubclasses RenderTexture2D, Texture2D BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture defaulteTexture : BaseTexture[read-only] 获...
来源: Laya2.0_api 发布时间: 20190513
...类,抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Texture2D VideoTexture Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel c...
来源: Laya3.0_api 发布时间: 20231115
...aya/webgl/shader/d2/value/Value2D.ts:44 textureHost textureHost: Texture | RenderTexture2D | TextTexture Inherited from Value2D.textureHost Defined in laya/webgl/shader/d2/value/Value2D.ts:54 u_CurrentTime u_CurrentTime: number Defined in laya/particle/shader/value/ParticleShaderValue.ts:24 u_Durati...
来源: Laya3.0_api 发布时间: 20231115
...idth: number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null, invertY?: boolean): Texture | RenderTexture2D Inherited from AnimationBase.drawToTexture Defined in laya/display/Sprite.ts:1200 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight:...
来源: Laya3.0_api 发布时间: 20231102
...idth: number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null, invertY?: boolean): Texture | RenderTexture2D Inherited from AnimationBase.drawToTexture Defined in laya/display/Sprite.ts:1200 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight:...
来源: Laya3.0_api 发布时间: 20231102