Enum shaderc::ResourceKind [−][src]
#[repr(C)] pub enum ResourceKind { Image, Sampler, Texture, Buffer, StorageBuffer, UnorderedAccessView, }
Expand description
Resource kinds.
In Vulkan, resources are bound to the pipeline via descriptors with numbered bindings and sets.
Variants
Image and image buffer.
Pure sampler.
Sampled texture in GLSL, and Shader Resource View in HLSL.
Uniform Buffer Object (UBO) in GLSL. cbuffer in HLSL.
Shader Storage Buffer Object (SSBO) in GLSL.
Unordered Access View in HLSL. (Writable storage image or storage buffer.)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ResourceKind
impl Send for ResourceKind
impl Sync for ResourceKind
impl Unpin for ResourceKind
impl UnwindSafe for ResourceKind
Blanket Implementations
Mutably borrows from an owned value. Read more