ProtectedconstructorStatic ReadonlyByteGPU programs are allowed to cache their bytecode for faster compilation.
Static ReadonlyComputeSupports GPU compute programs.
Static ReadonlyFloat3232-bit float formats can be sampled using linear filtering.
Static ReadonlyGeometrySupports GPU geometry programs.
Static ReadonlyIndirectTrue if the first instance parameter is supported for indirect draws.
Static ReadonlyLoadSupports load-store (unordered access) writes to textures/buffers in GPU programs.
Static ReadonlyLoadSupports load-store (unordered access) writes to textures with multiple samples.
Static ReadonlyMultiHas native support for command buffers that can be populated from secondary threads.
Static ReadonlyNullFragment shader can be null. In other words vertex shader can be provided alone, i.e. if we only need to write to depth/stencil.
Static ReadonlyPrimitiveTrue if PrimitiveID built-in is available in the vertex shader.
Static ReadonlyReadDepth/stencil buffers can be bound as read-only, which means they can both be sampled in the shader, as well as used for depth/stencil test operations.
Static ReadonlyRenderSupports rendering to multiple layers of a render texture at once.
Static ReadonlyResourceTrue if resources such as textures/samplers can be part of an array in the GPU program.
Static ReadonlyRG11True if the texture format RG11B10F supports being used as render target.
Static ReadonlySampleTrue if SV_SampleIndex semantic is supported in the shader.
Static ReadonlyStructuredTrue if StructuredBuffer types are supported in shader.
Static ReadonlyTessellationSupports GPU tessellation programs.
Static ReadonlyTextureSupports compressed textures in the ASTC format.
Static ReadonlyTextureSupports compressed textures in the BC formats.
Static ReadonlyTextureSupports compressed textures in the ETC2 and EAC format.
Static ReadonlyTextureTrue if texture gather instructions are supported in the shader.
Static ReadonlyTextureSupports views that allow a sub-set of a texture to be bound to a GPU program. (i.e. specific mip level or mip range, and/or specific array slice or array slice range)
StaticaddAdds the flag bits to the enum value.
StaticcombineTakes an array of enum values and combines them as a single enum flag value. This assumes that the
target enum is a flag enum that can have their values combined using bitwise operators.
The array of values to be combined using bitwise-or operator.
The combined enum value.
StaticgetStaticgetStaticgetStaticgetStaticgetGets the name for the enumeration value that matches the specified enumValue.
The enumeration value.
The enumeration value or undefined if not found.
StaticgetStaticgetGets the enumeration value at the specified index.
The index.
The enumeration value or undefined if not found.
StaticgetGets the enumeration values
The enumeration values.
StatichasDetermines if the enum value has the flags set.
StatichasDetermines if the enum bits were changed from previousValue to currentValue.
StaticiterateStaticiterateIterates the enumeration values
The enumeration values.
StaticremoveRemoves the flag bits from the enum value.
StaticsplitTakes a single enum value and splits it into separated flag values set on the value. This
assumes that the target enum is a flag enum that can have their values combined using bitwise operators.
The enum value to have it's value split using bitwise-and operator.
An array of each "bit flag" set in the enum.
Enum describing the different hardware capabilities we can check for.