• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 79 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0058 秒)

11. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 62%]

...wnRenderTexture,null,blurMaterial,0);           //创建降采样RenderTexture2         var blurTexture:Laya.RenderTexture =  Laya.RenderTexture.createFromPool(downSampleWidth,downSampleheigh,Laya.RenderTextureFormat.R8G8B8,Laya.RenderTextureDepthFormat.DEPTHSTENCIL_NONE);   ...

来源: Laya_社区 发布时间: 20210203

12. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 53%]

...。 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

13. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 50%]

...。 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

14. 在安卓手机上drawToTexture不能正确返回纹理对象,是HTMLCanvas [ 46%]

...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

15. laya.resource.HTMLCanvas_API3.0 [ 45%]

... 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

16. laya.resource.BaseTexture [ 39%]

...lic class BaseTextureInheritanceBaseTexture laya.resource.BitmapSubclasses RenderTexture2D, Texture2D BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By  anisoLevel : int 各向异性等级 BaseTexture  defaulteTexture : BaseTexture[read-only] 获...

来源: Laya2.0_api 发布时间: 20190513

17. laya.resource.BaseTexture_API3.0 [ 33%]

...类,抽象类,不允许实例。 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

18. laya.particle.shader.value.ParticleShaderValue_API3.0 [ 33%]

...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

19. laya.html.dom.HTMLIframeElement_API3.0 [ 29%]

...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

20. laya.html.dom.HTMLDivElement_API3.0 [ 28%]

...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