WGSLLanguageFeatureName


class WGSLLanguageFeatureName


An enumeration of optional WGSL language features.

Summary

Constants

const Int
const Int

Allows accessing components of composite types through pointers.

const Int

Support for readonly and readwrite access qualifiers on storage textures.

const Int

Enables access to the subgroup identifier within a compute shader, allowing algorithms to utilize subgroup-level parallelism.

const Int
const Int
const Int
const Int

Enables the use of standard memory layout definitions for uniform buffers, relaxing strict alignment requirements to support tighter data packing.

const Int

Allows passing pointers with storage and uniform address spaces as function parameters.

Public companion functions

String
toString(value: Int)

Constants

Packed4x8IntegerDotProduct

const val Packed4x8IntegerDotProduct = 2: Int

PointerCompositeAccess

const val PointerCompositeAccess = 4: Int

Allows accessing components of composite types through pointers.

ReadonlyAndReadwriteStorageTextures

const val ReadonlyAndReadwriteStorageTextures = 1: Int

Support for readonly and readwrite access qualifiers on storage textures.

SubgroupId

const val SubgroupId = 6: Int

Enables access to the subgroup identifier within a compute shader, allowing algorithms to utilize subgroup-level parallelism.

SubgroupUniformity

const val SubgroupUniformity = 8: Int

TextureAndSamplerLet

const val TextureAndSamplerLet = 7: Int

TextureFormatsTier1

const val TextureFormatsTier1 = 9: Int

UniformBufferStandardLayout

const val UniformBufferStandardLayout = 5: Int

Enables the use of standard memory layout definitions for uniform buffers, relaxing strict alignment requirements to support tighter data packing.

UnrestrictedPointerParameters

const val UnrestrictedPointerParameters = 3: Int

Allows passing pointers with storage and uniform address spaces as function parameters.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String