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 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

impl Clone for ResourceKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ResourceKind
[src]

impl Debug for ResourceKind
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ResourceKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ResourceKind
[src]

Auto Trait Implementations