Skip to content

CF_ShaderWgslSampleType

Category: graphics
GitHub: cute_shader_bytecode.h


The sample type of a sampled texture in a shader's WGSL source.

Values

Enum Description
CF_SHADER_WGSL_SAMPLE_TYPE_FLOAT texture_2d<f32> and the like, bound to a filterable texture.
CF_SHADER_WGSL_SAMPLE_TYPE_UNFILTERABLE_FLOAT f32 textures that cannot be filtered, such as 32-bit float formats without float32-filterable.
CF_SHADER_WGSL_SAMPLE_TYPE_DEPTH texture_depth_2d and the like.
CF_SHADER_WGSL_SAMPLE_TYPE_SINT texture_2d<i32> and the like.
CF_SHADER_WGSL_SAMPLE_TYPE_UINT texture_2d<u32> and the like.

CF_ShaderWgslBinding