#[repr(i32)]pub enum ShaderInputType {
Show 14 variants
CBuffer = 0,
TBuffer = 1,
Texture = 2,
Sampler = 3,
UavRWTyped = 4,
Structured = 5,
UavRWStructured = 6,
ByteAddress = 7,
UavRwByteAddress = 8,
UavAppendStructured = 9,
UavConsumeStructured = 10,
UavRwstructuredWithCounter = 11,
RTAccelerationStructure = 12,
UavFeedbackTexture = 13,
}Expand description
Values that identify resource types that can be bound to a shader and that are reflected as part of the resource description for the shader.
For more information: D3D_SHADER_INPUT_TYPE enumeration
Variants§
CBuffer = 0
TBuffer = 1
Texture = 2
Sampler = 3
UavRWTyped = 4
Structured = 5
UavRWStructured = 6
ByteAddress = 7
UavRwByteAddress = 8
UavAppendStructured = 9
UavConsumeStructured = 10
UavRwstructuredWithCounter = 11
RTAccelerationStructure = 12
UavFeedbackTexture = 13
Implementations§
Trait Implementations§
Source§impl Clone for ShaderInputType
impl Clone for ShaderInputType
Source§fn clone(&self) -> ShaderInputType
fn clone(&self) -> ShaderInputType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShaderInputType
impl Debug for ShaderInputType
Source§impl From<D3D_SHADER_INPUT_TYPE> for ShaderInputType
impl From<D3D_SHADER_INPUT_TYPE> for ShaderInputType
Source§impl Hash for ShaderInputType
impl Hash for ShaderInputType
Source§impl PartialEq for ShaderInputType
impl PartialEq for ShaderInputType
impl Copy for ShaderInputType
impl Eq for ShaderInputType
impl StructuralPartialEq for ShaderInputType
Auto Trait Implementations§
impl Freeze for ShaderInputType
impl RefUnwindSafe for ShaderInputType
impl Send for ShaderInputType
impl Sync for ShaderInputType
impl Unpin for ShaderInputType
impl UnwindSafe for ShaderInputType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more