Enum sierra::Feature

source ·
pub enum Feature {
Show 25 variants BufferDeviceAddress, ShaderSampledImageDynamicIndexing, ShaderStorageImageDynamicIndexing, ShaderUniformBufferDynamicIndexing, ShaderStorageBufferDynamicIndexing, ShaderSampledImageNonUniformIndexing, ShaderStorageImageNonUniformIndexing, ShaderUniformBufferNonUniformIndexing, ShaderStorageBufferNonUniformIndexing, DescriptorBindingSampledImageUpdateAfterBind, DescriptorBindingStorageImageUpdateAfterBind, DescriptorBindingUniformBufferUpdateAfterBind, DescriptorBindingStorageBufferUpdateAfterBind, DescriptorBindingUniformTexelBufferUpdateAfterBind, DescriptorBindingStorageTexelBufferUpdateAfterBind, DescriptorBindingUpdateUnusedWhilePending, DescriptorBindingPartiallyBound, AccelerationStructure, RayTracingPipeline, RuntimeDescriptorArray, ScalarBlockLayout, SurfacePresentation, DisplayTiming, DynamicRendering, SeparateDepthStencilLayouts,
}
Expand description

Features that optionally can be supported by devices.

Variants§

§

BufferDeviceAddress

Allows taking GPU 64-bit address for a buffer pass it as plain data to the shader and access it there.

§

ShaderSampledImageDynamicIndexing

Allows using indices that depend on shader input to access sampled image arrays. ShaderSampledImageNonUniformIndexing is required to use indices that depend on non-uniform values.

§

ShaderStorageImageDynamicIndexing

Allows using indices that depend on shader input to access storage image arrays. ShaderStorageImageNonUniformIndexing is required to use indices that depend on non-uniform values.

§

ShaderUniformBufferDynamicIndexing

Allows using indices that depend on shader input to access uniform buffer arrays. ShaderUniformBufferNonUniformIndexing is required to use indices that depend on non-uniform values.

§

ShaderStorageBufferDynamicIndexing

Allows using indices that depend on shader input to access storage buffer arrays. ShaderStorageBufferNonUniformIndexing is required to use indices that depend on non-uniform values.

§

ShaderSampledImageNonUniformIndexing

Allows using indices that depend on non-uniform shader input to access sampled image arrays.

§

ShaderStorageImageNonUniformIndexing

Allows using indices that depend on non-uniform shader input to access storage image arrays.

§

ShaderUniformBufferNonUniformIndexing

Allows using indices that depend on non-uniform shader input to access uniform buffer arrays.

§

ShaderStorageBufferNonUniformIndexing

Allows using indices that depend on non-uniform shader input to access storage buffer arrays.

§

DescriptorBindingSampledImageUpdateAfterBind

Allows using DescriptorBindingFlags::UPDATE_AFTER_BIND flag on sampled image descriptors.

§

DescriptorBindingStorageImageUpdateAfterBind

Allows using DescriptorBindingFlags::UPDATE_AFTER_BIND flag on storage image descriptors.

§

DescriptorBindingUniformBufferUpdateAfterBind

Allows using DescriptorBindingFlags::UPDATE_AFTER_BIND flag on uniform buffer descriptors.

§

DescriptorBindingStorageBufferUpdateAfterBind

Allows using DescriptorBindingFlags::UPDATE_AFTER_BIND flag on storage buffer descriptors.

§

DescriptorBindingUniformTexelBufferUpdateAfterBind

Allows using DescriptorBindingFlags::UPDATE_AFTER_BIND flag on uniform texel buffer descriptors.

§

DescriptorBindingStorageTexelBufferUpdateAfterBind

Allows using DescriptorBindingFlags::UPDATE_AFTER_BIND flag on storage texel buffer descriptors.

§

DescriptorBindingUpdateUnusedWhilePending

Allows using DescriptorBindingFlags::UPDATE_UNUSED_WHILE_PENDING flag on descriptors.

§

DescriptorBindingPartiallyBound

Allows using DescriptorBindingFlags::PARTIALLY_BOUND flag on descriptors.

§

AccelerationStructure

Allows creation, building and usage of acceleration structures.

§

RayTracingPipeline

Allows creation and usage of ray-tracing pipelines.

§

RuntimeDescriptorArray

Allows creating runtime sized arrays of descriptors.

§

ScalarBlockLayout

§

SurfacePresentation

Allows creating surface and swapchain to display images.

§

DisplayTiming

Allows fetching display timings.

§

DynamicRendering

Allows rendering without render-pass.

§

SeparateDepthStencilLayouts

Allows moving depth and stencil aspects of a image into different layouts.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Checks if this value is equivalent to the given key. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.