pub struct Rdef {
pub target: u32,
pub flags: u32,
pub creator: String,
pub bindings: Vec<RdefBinding>,
pub buffers: Vec<RdefBuffer>,
}Expand description
A container’s RDEF part as stored: what it says the program binds and the layouts of its buffers.
Fields§
§target: u32The part’s own version token (0xffff0500: an SM5.0 pixel program, 0xfffe0500: vertex, …).
flags: u32D3DCOMPILE_* flags the program was compiled with, as stored.
creator: StringThe compiler that wrote the part (Microsoft (R) HLSL Shader Compiler 10.1).
bindings: Vec<RdefBinding>The resource bindings, in the order the part lists them.
buffers: Vec<RdefBuffer>The constant buffers, in the order the part lists them.
Trait Implementations§
impl Eq for Rdef
impl StructuralPartialEq for Rdef
Auto Trait Implementations§
impl Forget for Rdef
impl Freeze for Rdef
impl RefUnwindSafe for Rdef
impl Send for Rdef
impl Sync for Rdef
impl Unpin for Rdef
impl UnsafeUnpin for Rdef
impl UnwindSafe for Rdef
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