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