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]
impl Clone for ResourceKind
fn clone(&self) -> ResourceKind
[src]
fn clone(&self) -> ResourceKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ResourceKind
[src]
impl Copy for ResourceKind
impl Debug for ResourceKind
[src]
impl Debug for ResourceKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ResourceKind
[src]
impl PartialEq for ResourceKind
fn eq(&self, other: &ResourceKind) -> bool
[src]
fn eq(&self, other: &ResourceKind) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ResourceKind
[src]
impl Eq for ResourceKind
Auto Trait Implementations
impl Send for ResourceKind
impl Send for ResourceKind
impl Sync for ResourceKind
impl Sync for ResourceKind