pub struct RdefBinding {
pub word: usize,
pub name: String,
pub kind: u32,
pub returns: u32,
pub dimension: u32,
pub samples: u32,
pub register: u32,
pub count: u32,
pub flags: u32,
}Expand description
One resource binding record as stored.
Fields§
§word: usizeWhere the record starts, in words of the part.
name: StringThe resource’s name.
kind: u32D3D_SHADER_INPUT_TYPE.
returns: u32D3D_RESOURCE_RETURN_TYPE.
dimension: u32D3D_SRV_DIMENSION.
samples: u32A multisampled texture’s sample count; a structured buffer’s stride.
register: u32The first register the resource is bound to.
count: u32How many consecutive registers it is bound to.
flags: u32D3D_SHADER_INPUT_FLAGS.
Trait Implementations§
Source§impl Clone for RdefBinding
impl Clone for RdefBinding
Source§impl Debug for RdefBinding
impl Debug for RdefBinding
impl Eq for RdefBinding
Source§impl PartialEq for RdefBinding
impl PartialEq for RdefBinding
impl StructuralPartialEq for RdefBinding
Auto Trait Implementations§
impl Freeze for RdefBinding
impl RefUnwindSafe for RdefBinding
impl Send for RdefBinding
impl Sync for RdefBinding
impl Unpin for RdefBinding
impl UnsafeUnpin for RdefBinding
impl UnwindSafe for RdefBinding
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