Class: Shaders
Memberof
M3D.Render
Description
着色器管理类
Author
ss
Date
2022-1-17
Version
1.0
Copyright
All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd
Table of contents
Constructors
Properties
- axis
- background
- backgroundImage
- base
- baseVertex
- blur
- brdf
- combineOutline
- compareDepthMap
- compareMap
- compareNormalMap
- cubeMap
- depth
- depthMap
- depthMaterial
- depthNormals
- depthedEdgeLine
- diamondBack
- diamondBlendQuad
- diamondFront
- diamondFrontInfo
- diamondStar
- dragger
- edge
- edgeDetection
- edgePoint
- fboDebug
- fboDebugDepth
- flatColor
- gaussianBlur
- gaussianBlur2
- gaussianBlurOutline
- groundGrid
- groundMirror
- groundMirrorShadow
- groundShadow
- groundShadowBlur
- groundShadowMap
- hightlight
- image
- instanceEdge
- jewelBack
- jewelBlendQuad
- jewelFinalQuad
- jewelFront
- jewelHighLight
- jewelType
- lightWithTexture
- lightWithoutTexture
- matCapMaterial
- meshPhong
- multilight
- noteEdge
- noteImage
- outline
- pbrMaterial
- phongMaterial
- planeShadow
- quad
- ring
- sceneGround
- shadowDepthMap
- specular
- ssaoBlur
- ssaoDepthMap
- ssaoEffect
- textureQuad
- wireframe
- xray
- xrayEdge
Methods
- acquireProgram
- createParameters
- getCurrentAction
- getProgramCode
- getShaderProgram
- getTextureEncodingFromMap
- setCurrentAction
Constructors
constructor
• new Shaders(context
): Shaders
Parameters
Name | Type |
---|---|
context | RenderContext |
Returns
Description
构造函数
Properties
axis
▪ Static
axis: string
background
▪ Static
background: string
backgroundImage
▪ Static
backgroundImage: string
base
▪ Static
base: string
baseVertex
▪ Static
baseVertex: string
blur
▪ Static
blur: string
brdf
▪ Static
brdf: string
combineOutline
▪ Static
combineOutline: string
compareDepthMap
▪ Static
compareDepthMap: string
compareMap
▪ Static
compareMap: string
compareNormalMap
▪ Static
compareNormalMap: string
cubeMap
▪ Static
cubeMap: string
depth
▪ Static
depth: string
depthMap
▪ Static
depthMap: string
depthMaterial
▪ Static
depthMaterial: string
depthNormals
▪ Static
depthNormals: string
depthedEdgeLine
▪ Static
depthedEdgeLine: string
diamondBack
▪ Static
diamondBack: string
diamondBlendQuad
▪ Static
diamondBlendQuad: string
diamondFront
▪ Static
diamondFront: string
diamondFrontInfo
▪ Static
diamondFrontInfo: string
diamondStar
▪ Static
diamondStar: string
dragger
▪ Static
dragger: string
edge
▪ Static
edge: string
edgeDetection
▪ Static
edgeDetection: string
edgePoint
▪ Static
edgePoint: string
fboDebug
▪ Static
fboDebug: string
fboDebugDepth
▪ Static
fboDebugDepth: string
flatColor
▪ Static
flatColor: string
gaussianBlur
▪ Static
gaussianBlur: string
gaussianBlur2
▪ Static
gaussianBlur2: string
gaussianBlurOutline
▪ Static
gaussianBlurOutline: string
groundGrid
▪ Static
groundGrid: string
groundMirror
▪ Static
groundMirror: string
groundMirrorShadow
▪ Static
groundMirrorShadow: string
groundShadow
▪ Static
groundShadow: string
groundShadowBlur
▪ Static
groundShadowBlur: string
groundShadowMap
▪ Static
groundShadowMap: string
hightlight
▪ Static
hightlight: string
image
▪ Static
image: string
instanceEdge
▪ Static
instanceEdge: string
jewelBack
▪ Static
jewelBack: string
jewelBlendQuad
▪ Static
jewelBlendQuad: string
jewelFinalQuad
▪ Static
jewelFinalQuad: string
jewelFront
▪ Static
jewelFront: string