文档
r182
文档
r182
输入与访问器
几何体属性
buffer
instancedDynamicBufferAttribute
instancedBufferAttribute
instanceIndex
vertexColor
normalGeometry
skinning
instancedMesh
instance
tangentLocal
uv
positionGeometry
vertexIndex
attribute
tangentGeometry
bitangentGeometry
光照
lightPosition
lightTargetPosition
lightViewPosition
lightShadowMatrix
lightProjectionUV (函数)
模型/对象
objectScale
modelRadius
objectViewPosition
modelViewPosition
modelWorldMatrix
modelScale
modelDirection
modelViewMatrix
modelNormalMatrix
objectRadius
modelViewProjection
highpModelNormalViewMatrix
objectDirection
mediumpModelViewMatrix
modelWorldMatrixInverse
objectPosition
objectWorldMatrix
modelPosition
highpModelViewMatrix
深度
depthPass
linearDepth
depth
viewZToLogarithmicDepth
viewZToOrthographicDepth
viewZToPerspectiveDepth
材质属性
metalness
materialAnisotropy
materialEmissive
materialNormal
materialIOR
anisotropyT
roughness
materialIridescenceIOR
materialClearcoatRoughness
clearcoat
transmission
anisotropy
materialOpacity
materialReference (函数)
materialRefractionRatio
materialAnisotropyVector
materialEnvIntensity
materialRotation
materialAO
materialSpecularStrength
attenuationColor
materialSheenRoughness
sheenRoughness
alphaT
gapSize
sheen
dashSize
materialSheen
shininess
emissive
materialThickness
materialLightMap
materialSpecular
materialIridescence
attenuationDistance
materialAttenuationColor
iridescenceThickness
materialDispersion
materialEnvRotation
specularF90
materialTransmission
materialLineScale
materialAttenuationDistance
materialIridescenceThickness
materialPointSize
materialSpecularColor
inverseSqrt
materialColor
materialReflectivity
diffuseColor
dispersion
ior
materialLineDashOffset
specularColor
anisotropyB
materialClearcoatNormal
materialClearcoat
materialLineDashSize
materialRoughness
materialLineGapSize
materialMetalness
materialSpecularIntensity
iridescenceIOR
materialAlphaTest
materialShininess
materialLineWidth
inversesqrt
clearcoatRoughness
局部/变换后坐标
clearcoatNormalView
positionPrevious
positionViewDirection
bentNormalView
tangentWorld
normalViewGeometry
transformedBitangentView
positionView
bitangentWorld
shadowPositionWorld
bitangentView
bitangentLocal
transformedNormalView
tangentView
transformedClearcoatNormalView
positionWorld
normalView
normalLocal
transformedBentNormalView
positionLocal
transformedBitangentWorld
transformedNormalWorld
normalWorld
normalWorldGeometry
transformedTangentView
transformedTangentWorld
positionWorldDirection
渲染/屏幕/视口
pointWidth
viewportUV
frontFacing
faceDirection
viewportTexture
viewport
viewportSafeUV
viewportDepthTexture
viewportMipTexture
frameGroup
viewportCoordinate
pointUV
toneMappingExposure
viewportSharedTexture
cameraViewport
screenUV
deltaTime
backgroundIntensity
screenCoordinate
frameId
drawIndex
velocity
viewportLinearDepth
backgroundRotation
screenSize
viewportSize
backgroundBlurriness
通用输入
vertexStage
mx_frame
userData
mx_transform_uv
uniform
mx_divide
subgroupElect
scriptableValue
HALF_PI
uniformTexture
mx_atan2
stepElement
builtinAOContext
PI2 (TWO_PI)
mx_rotate2d
vogelDiskSample
materialReference
subgroupBallot
subgroupInclusiveAdd
intBitsToFloat
subgroupMin
mx_separate
subgroupExclusiveAdd
mx_timer
inverse
color
uniformFlow
mx_ifgreater
mx_unifiednoise2d
textureBicubic
addMethodChaining
Stack
subgroupInclusiveMul
textureLevel
builtinShadowContext
subgroupExclusiveMul
PI2
replaceDefaultUV
subgroupShuffle
nodeObjectIntent
subgroupXor
subgroupOr
builtin
screenDPR
mx_ramp4
subgroupMul
OnBeforeObjectUpdate
mx_unifiednoise3d
interleavedGradientNoise
mx_subtract
directionToFaceDirection
lightProjectionUV
subgroupBroadcast
mx_place2d
uniformCubeTexture
subgroupMax
OnBeforeMaterialUpdate
mx_ifequal
EPSILON
subgroupShuffleXor
subgroupShuffleDown
time
subgroupBroadcastFirst
mx_invert
INFINITY
uniformArray
PI
subgroupShuffleUp
mx_ifgreatereq
mx_modulo
相机
cameraProjectionMatrix
cameraPosition
cameraFar
cameraViewMatrix
cameraNear
cameraIndex
cameraNormalMatrix
cameraProjectionMatrixInverse
cameraWorldMatrix
数学运算
三角函数
sin
tan
asin
cos
acos
atan
取整与范围
round
range
min
max
sign
fract
floor
step
ceil
smoothstep
clamp
trunc
saturate
smoothstepElement
坐标/值变换
perspectiveDepthToViewZ
billboarding
remap
logarithmicDepthToViewZ
directionToColor
orthographicDepthToViewZ
mx_rotate3d
getViewPosition
transformNormal
degrees
radians
remapClamp
transformDirection
reflect
colorToDirection
spherizeUV
rotate
getScreenPosition
refract
transformNormalToView
幂与对数
inverseSqrt
exp
mx_safepower
exp2
pow4
sqrt
log2
log
pow
pow2
pow3
cbrt
mx_power
向量与矩阵
transpose
dot
length
split
vectorComponents
cross
TBNViewMatrix
distance
normalize
lengthSq
determinant
faceforward
difference
基础算术
negate
reciprocal
mx_multiply
remainder
mx_add
oneMinus
abs
div
mod
add
sub
mul
位运算
shiftLeft
unpackHalf2x16
xor
packHalf2x16
packUnorm2x16
bitNot
countLeadingZeros
bitXor
bitOr
countTrailingZeros
unpackUnorm2x16
bitAnd
unpackSnorm2x16
shiftRight
countOneBits
逻辑与流程控制
比较
lessThan
lessThanEqual
notEqual
equal
greaterThanEqual
greaterThan
流程
output
incrementBefore
decrement
Return
increment
Continue
loop
If
stack
Discard
decrementBefore
Switch
Break
select
assign
Loop
逻辑
any
or
and
all
not
光照与着色
法线与粗糙度
faceForward
getNormalFromDepth
getRoughness
getGeometryRoughness
bentNormalView
normalFlat
BRDF/BSDF
thickness
BRDF_GGX
iridescence
D_GGX
DFGApprox
BRDF_Lambert
Schlick_to_F0
F_Schlick
V_GGX_SmithCorrelated
DFGLUT
反射/折射
refractView
reflector
textureCubeUV
getParallaxCorrectNormal
refractVector
reflectView
parallaxDirection
reflectVector
光照计算
lights
getShIrradianceAt
lightTargetDirection
directPointLight
getDistanceAttenuation
lightingContext
toonOutlinePass
阴影
BasicPointShadowFilter
shadow
BasicShadowFilter
VSMShadowFilter
PCFSoftShadowFilter
PointShadowFilter
PCFShadowFilter
pointShadow
雾效
densityFogFactor
fog
rangeFogFactor
纹理与采样
节点
cubeTextureBase
sampler
dFdy
samplerComparison
textureBicubicLevel
normalMap
getDirection
sample
texture
equirectUV
texture3D
mx_heighttonormal
bumpMap
fwidth
pmremTexture
mx_transform_uv
dFdx
cubeTexture
textureBicubic
textureSize
maxMipLevel
textureLoad
matcapUV
triplanarTexture
triplanarTextures
parallaxUV
cubeToUV
rotateUV
spritesheetUV
颜色操作
混合模式
screen
blendScreen
blendDodge
blendBurn
mix
blendColor
overlay
mixElement
blendOverlay
色彩空间
mx_srgb_texture_to_lin_rec709
sRGBTransferOETF
sRGBTransferEOTF
workingToColorSpace
colorSpaceToWorking
unpremult
mx_hsvtorgb
mx_rgbtohsv
convertColorSpace
色调映射
acesFilmicToneMapping
linearToneMapping
neutralToneMapping
toneMapping
renderOutput
reinhardToneMapping
cineonToneMapping
agxToneMapping
颜色调整
hue
gain
mx_contrast
vibrance
premult
grayscale
blur
premultiplyAlpha
unpremultiplyAlpha
posterize
saturation
cdl
luminance
程序化生成
图案
mx_aastep
shapeCircle
checker
mx_ramplr
mx_ramptb
噪声
mx_worley_noise_vec3
mx_worley_noise_vec2
mx_noise_vec4
mx_fractal_noise_vec2
mx_fractal_noise_vec4
hash
mx_worley_noise_float
triNoise3D
rand
mx_fractal_noise_vec3
mx_cell_noise_float
mx_noise_vec3
mx_fractal_noise_float
mx_noise_float
振荡器/曲线
oscSquare
parabola
sinc
pcurve
oscTriangle
oscSawtooth
oscSine
类型转换
节点
mat3
bitcast
ivec2
ivec3
floatBitsToUint
packSnorm2x16
mat2
mat4
vec2
uint
vec4
int
floatBitsToInt
bvec4
vec3
bvec2
ivec4
convert
bool
bvec3
uvec3
uvec4
uvec2
float
uintBitsToFloat
高级计算与 GPGPU
内置变量
subgroupSize
subgroupIndex
numWorkgroups
workgroupId
localId
invocationLocalIndex
invocationSubgroupIndex
globalId
核心
outputStruct
storageBarrier
compute
workgroupBarrier
ComputeNode
subgroupAll
mrt
subgroupAdd
subgroupAnd
computeKernel
textureBarrier
subgroupAny
数据结构
workgroupArray
storageTexture
array
arrayBuffer
textureStore
bufferAttribute
attributeArray
dynamicBufferAttribute
element
nodeArray
referenceBuffer
storage
instancedArray
原子操作
atomicOr
atomicXor
atomicStore
atomicAnd
atomicLoad
atomicSub
atomicMax
atomicMin
atomicAdd
高级技术
batch
morphReference
computeSkinning
框架与工具
函数与代码注入
OnMaterialUpdate
code
js
glsl
OnObjectUpdate
subBuild
wgsl
wgslFn
Fn
scriptable
glslFn
call
expression
overloadingFn
atomicFunc
构建与管理
defaultShaderStages
NodeShaderStage
NodeType
getCurrentStack
defaultBuildStages
NodeAccess
renderGroup
objectGroup
rendererReference
getTextureIndex
getShadowRenderObjectFunction
getShadowMaterial
defined
setCurrentStack
NodeUpdateType
getConstNodeType
uniformGroup
ScriptableNodeResources
节点结构与元数据
reference
ShaderNode
Const
parameter
shaderStages
struct
nodeObjects
nodeObject
namespace
nodeProxy
varying
range
property
varyingProperty
context
string
nodeProxyIntent
调试与优化
mx_splittb
rtt
nodeImmutable
bypass
setName
label
pass
Var
debug
mx_splitlr
passTexture
convertToTexture
VarIntent
cache
sharedUniformGroup
已弃用节点
remainder
densityFog
timerDelta
rangeFog
dodge
viewportBottomLeft
append
DFGApprox
storageObject
cond
viewportTopLeft
viewportResolution
cubeToUV
uniforms
atan2
timerGlobal
modInt
burn
temp
timerLocal
equals
addNodeElement
tslFn
材质节点
节点
MeshLambertNodeMaterial
MeshMatcapNodeMaterial
LineBasicNodeMaterial
PointsNodeMaterial
Line2NodeMaterial
LineDashedNodeMaterial
MeshSSSNodeMaterial
MeshPhysicalNodeMaterial
MeshToonNodeMaterial
MeshStandardNodeMaterial
VolumeNodeMaterial
SpriteNodeMaterial
MeshBasicNodeMaterial
ShadowNodeMaterial
NodeMaterial
MeshPhongNodeMaterial
MeshNormalNodeMaterial