Enum shaderc::ResourceKind
[−]
[src]
#[repr(C)]pub enum ResourceKind { Image, Sampler, Texture, Buffer, StorageBuffer, UnorderedAccessView, }
Resource kinds.
In Vulkan, resources are bound to the pipeline via descriptors with numbered bindings and sets.
Variants
Image
Image and image buffer.
Sampler
Pure sampler.
Texture
Sampled texture in GLSL, and Shader Resource View in HLSL.
Buffer
Uniform Buffer Object (UBO) in GLSL. cbuffer in HLSL.
StorageBuffer
Shader Storage Buffer Object (SSBO) in GLSL.
UnorderedAccessView
Unordered Access View in HLSL. (Writable storage image or storage buffer.)
Trait Implementations
impl Clone for ResourceKind
[src]
fn clone(&self) -> ResourceKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ResourceKind
[src]
impl Debug for ResourceKind
[src]
impl PartialEq for ResourceKind
[src]
fn eq(&self, __arg_0: &ResourceKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.