Keywords
This page categorizes all keywords there are in DSHL and provides references to their description.
Data types
float
float1
int
bool
float2
half2
short2
float3
int4
float4
short4
half4
float4x4
texture
buffer
const_buffer
Channels
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
Conditionals and booleans
if
else
false
true
none
NULL
maybe
Data types modifiers
always_referenced
no_warnings
channel
dynamic
static
const
local
global
Materials
material
texture
diffuse
emissive
specular
two_sided
real_two_sided
render_stage
render_trans
Hardware
hardware
vulkan
metal
metaliOS
pc
dx11
dx12
xbox
scarlett
ps4
ps5
fsh_4_0
fsh_5_0
fsh_6_0
fsh_6_6
bindless
Macros
define_macro_if_not_defined
macro
endmacro
Intervals
interval
assume
optional
Includes
include
include_optional
Common directives
no_dynstcode
dont_render
no_ablend
error
Shader blocks
block
supports
register
Shaders
shader
compile
Graphics pipeline settings
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
Global constants
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
Still uncategorized
immediate_dword_count