大约有 79 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0032 秒)
...I DocumentationAll Packages | All Classes | Index | Frames No Frames RenderTexture2DProperties | Methods | Constants Packagelaya.resourceClasspublic class RenderTexture2DInheritanceRenderTexture2D BaseTexture laya.resource.Bitmap RenderTexture 类用于创建渲染目标。 Public Propertie...
来源: Laya2.0_api 发布时间: 20190513
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget ...
来源: Laya3.0_api 发布时间: 20231115
iOS设备上RenderTexture2D显示出来很暗 安卓和PC上显示的效果一致: 而iOS上就很暗: 右边这组的纹理sRGB=false(线性空间),而绘制到RT后颜色变正常了,应该是RT会转到伽马空间 也就是为什么前面两组的RT都偏暗,因为那两组的...
来源: Laya_社区 发布时间: 20230625
...创建和回收 Public Methods MethodDefined By getRT(w:int, h:int):RenderTexture2D[static] 获得一个renderTarget 暂时先按照严格大小判断。 WebGLRTMgr releaseRT(rt:RenderTexture2D):void[static] 回收一个renderTarget WebGLRTMgrMethod DetailgetRT()method public static function...
来源: Laya2.0_api 发布时间: 20190513
... Methods getRT releaseRT Methods Static getRT getRT(w: number, h: number): RenderTexture2D Defined in laya/resource/WebGLRTMgr.ts:20 获得一个renderTarget 暂时先按照严格大小判断。 Parameters w: number h: number Returns RenderTexture2D Static releaseRT releaseRT(rt: RenderTexture2D): v...
来源: Laya3.0_api 发布时间: 20231115
...nderTexture,downRenderTexture,null,shader,shaderValue,0); //创建降采样RenderTexture2 var blurTexture:RenderTexture = RenderTexture.createFromPool(downSampleWidth,downSampleheigh,RenderTextureFormat.R8G8B8,RenderTextureDepthFormat.DEPTHSTENCIL_NONE); blurTexture.filterMode = FilterMode.Bilinear;...
来源: Laya3.0_文档 发布时间: 20230303
...nderTexture,downRenderTexture,null,shader,shaderValue,0); //创建降采样RenderTexture2 var blurTexture:RenderTexture = RenderTexture.createFromPool(downSampleWidth,downSampleheigh,RenderTextureFormat.R8G8B8,RenderTextureDepthFormat.DEPTHSTENCIL_NONE); blurTexture.filterMode = FilterMode.Bilinear;...
来源: Laya2.0_文档 发布时间: 20210715
... • 2022-03-25 17:19 @c416288806:1、首先排查了mask方法里面使用rendertexture2D在混合模式时导致的闪屏。同过屏蔽mask方法里面的渲染命令发现切换为normal或其他混合模式都会闪屏。目前猜测应该不是混合模式的问题。 2、可能是rendertextur...
来源: Laya_社区 发布时间: 20220319
...laya/resource/NativeContext.ts:875 Returns Matrix _targets get _targets(): RenderTexture2D set _targets(target: RenderTexture2D): void Defined in laya/resource/NativeContext.ts:157 Returns RenderTexture2D Defined in laya/resource/NativeContext.ts:154 Parameters target: RenderTexture2D Returns void a...
来源: Laya3.0_api 发布时间: 20231102
...(renderTexture,downRenderTexture,null,blurMaterial,0); //创建降采样RenderTexture2 var blurTexture:RenderTexture = RenderTexture.createFromPool(downSampleWidth,downSampleheigh,RenderTextureFormat.R8G8B8,RenderTextureDepthFormat.DEPTHSTENCIL_NONE); blurTexture.filterMode = FilterMode.Bilinear;...
来源: Laya_社区 发布时间: 20201218