关键字
本页对 DSHL 中的所有关键字进行了分类,并提供了有关其描述的参考资料。
数据类型
float
float1
int
bool
float2
half2
short2
float3
int4
float4
short4
half4
float4x4
texture
buffer
const_buffer
通道
color8
ubyte4
short2n
short4n
ushort2n
ushort4n
udec3
dec3n
extra
vcol
pos
norm
tc
lightmap
bounding_pack
signed_pack
unsigned_pack
mul_1k
mul_2k
mul_4k
mul_8k
mul_16k
mul_32767
条件和布尔值
if
else
false
true
none
NULL
maybe
数据类型修改器
always_referenced
no_warnings
channel
dynamic
static
const
local
global
材质
material
texture
diffuse
emissive
specular
two_sided
real_two_sided
render_stage
render_trans
硬件
hardware
vulkan
metal
metaliOS
pc
dx11
dx12
xbox
scarlett
ps4
ps5
fsh_4_0
fsh_5_0
fsh_6_0
fsh_6_6
bindless
宏
define_macro_if_not_defined
macro
endmacro
间隔
interval
assume
optional
包含
include
include_optional
通用指令
no_dynstcode
dont_render
no_ablend
error
着色器块
block
supports
register
着色器
shader
compile
图形管线设置
z_write
z_test
z_bias
z_func
slope_z_bias
stencil
stencil_func
stencil_ref
stencil_pass
stencil_fail
stencil_zfail
blend_asrc
blend_adst
blend_src
blend_dst
cull_mode
alpha_to_coverage
color_write
view_instances
全局常量
globtm
projtm
viewprojtm
local_view_x
local_view_y
local_view_z
local_view_pos
world_local_x
world_local_y
world_local_z
world_local_pos
仍然未分类
immediate_dword_count