大约有 73 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0032 秒)
...INATE0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_ViewMatrix': [Laya.BaseCamera.VPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMatrix':[Laya.Sprite3D.WORLDMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_PMat': [Laya.BaseCamera.PROJECTMATRIX, Laya.Shader...
来源: Laya_社区 发布时间: 20181017
...ITION0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_MATERIAL], 'u_StartColor':[Laya.VertexElementUsage.STARTCOLOR0,Laya.Shader3D.PERIOD_MATERIAL], 'u_EndColor':[Laya.VertexElementUsage.ENDCOLOR0,Laya.Shader3D.PERIOD_MATERIAL] //'u_MainTex': [1, Laya.Shader3D.PE...
来源: Laya_社区 发布时间: 20180316
...ferCMD.ts:105 inheritdoc override Returns void setshader setshader(shader: Shader3D, subShader: number, shaderData: ShaderData): void Defined in laya/d3/core/render/command/BlitFrameBufferCMD.ts:94 Parameters shader: Shader3D subShader: number shaderData: ShaderData Returns void Static create create...
来源: Laya3.0_api 发布时间: 20231115
...ate CommandBuffer blit(source:RenderTexture, dest:RenderTexture, shader:Shader3D, shaderData:ShaderData = null, subShader:int = 0):void private CommandBuffer clear():void private CommandBuffer setRenderTarget(renderTexture:RenderTexture):void private CommandBuffer setShaderDataTexture(sh...
来源: Laya2.0_api 发布时间: 20190513
...: RenderContext3D 渲染上下文 Returns void setshader setshader(shader: Shader3D, subShader: number, shaderData: ShaderData): void Defined in laya/d3/core/render/command/BlitScreenQuadCMD.ts:84 Parameters shader: Shader3D subShader: number shaderData: ShaderData Returns void Static create create(...
来源: Laya3.0_api 发布时间: 20231115
...INATE0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_texture': [CustomMaterial.DIFFUSETEXTURE_ID, Laya.Shader3D.PERIOD_MATERIAL] }; var customShader = Laya.Shader3D.nameKey.add("...
来源: Laya_社区 发布时间: 20170815
...INATE0, } var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_Texture': [OutlineMaterial.DIFFUSETEXTURE, Laya.Shader3D.PERIOD_MATERIAL] } var outlineShader = Laya.Shader3D.add("OutlineSha...
来源: Laya_社区 发布时间: 20180925
...ceLoader Index Methods load Methods load load(task: ILoadTask): Promise<Shader3D> Implementation of IResourceLoader.load Defined in laya/d3/loaders/ShaderLoader.ts:10 Parameters task: ILoadTask Returns Promise<Shader3D> Globals "laya/d3/loaders/ShaderLoader" ShaderLoader load Legend Obje...
来源: Laya3.0_api 发布时间: 20231115
...ORMAL0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.Shader3D.PERIOD_SPRITE] }; var customShader: number = Laya.Shader3D.nameKey.add("CustomShader"); var vs: string = "attribute vec4 a_Position;\n" + "unifo...
来源: Laya_社区 发布时间: 20180904
...NORMAL0 }; //所有的uniform属性 var uniformMap = { 'u_MvpMatrix': Laya.Shader3D.PERIOD_SPRITE, 'u_WorldMat': Laya.Shader3D.PERIOD_SPRITE }; //注册CustomShader var customShader = Laya.Shader3D.add("CustomShader"); //创建一个SubShader var subShader = new Laya.SubShader(attributeMap, uniformM...
来源: Laya2.0_文档 发布时间: 20210715