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

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

1. laya.d3.shader.Shader3D_API3.0 [ 100%]

...otected All Inherited Externals Only exported Menu Globals "laya/d3/shader/Shader3D" Shader3D Class Shader3D Shader3D 类用于创建Shader3D。 Hierarchy Shader3D Index Constructors constructor Properties PERIOD_CAMERA PERIOD_CUSTOM PERIOD_MATERIAL PERIOD_SCENE PERIOD_SPRITE RENDER_STATE_BLEND REND...

来源: Laya3.0_api 发布时间: 20231102

2. laya.d3.shader.ShaderVariant_API3.0 [ 94%]

...ds clone equal setValue Constructors constructor new ShaderVariant(shader: Shader3D, subShaderIndex: number, passIndex: number, defines: string[]): ShaderVariant Defined in laya/d3/shader/ShaderVariantCollection.ts:46 创建着色器变种。 Parameters shader: Shader3D 着色器 subShaderIndex: num...

来源: Laya3.0_api 发布时间: 20231102

3. laya.d3.shader.Shader3D [ 94%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames Shader3DProperties | Methods | Constants Packagelaya.d3.shaderClasspublic class Shader3DInheritanceShader3D Object Shader3D 类用于创建Shader3D。 Public Properties PropertyDefined By  debugMode : Boolean = false[st...

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

4. laya.d3.shader.Shader3D [ 93%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames Shader3DProperties | Methods | Constants Packagelaya.d3.shaderClasspublic class Shader3DInheritanceShader3D BaseShader laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properti...

来源: laya_api 发布时间: 20170929

5. 自定义shader-地形shader [ 90%]

...INATE1 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_CameraPos': [Laya.BaseCamera.CAMERAPOS, Laya.Shader3D.PERIOD_CAMERA], 'u_SplatAlphaTexture': [CustomTerrainMaterial.SPLATALPH...

来源: Laya_示例 发布时间: 20241117

6. 自定义shader-简单shader [ 90%]

...ORMAL0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.Shader3D.PERIOD_SPRITE] }; var customShader = Laya.Shader3D.nameKey.add("CustomShader"); var vs = "attribute vec4 a_Position;\n" + "uniform mat4 u_MvpMat...

来源: Laya_示例 发布时间: 20241117

7. 自定义shader-边缘光照shader [ 89%]

...TE0 }; var uniformMap = { 'u_Bones': [Laya.SkinnedMeshSprite3D.BONES, Laya.Shader3D.PERIOD_RENDERELEMENT], 'u_CameraPos': [Laya.BaseCamera.CAMERAPOS, Laya.Shader3D.PERIOD_CAMERA], 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.Sh...

来源: Laya_示例 发布时间: 20241117

8. laya.d3.core.render.command.BlitFrameBufferCMD_API3.0 [ 89%]

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

9. laya.d3.core.render.command.BlitScreenQuadCMD_API3.0 [ 88%]

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

10. laya.d3.core.render.command.CommandBuffer [ 86%]

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