pub struct SamplerMapping {
pub resource: u8,
pub sampler: u8,
pub target: u8,
}Expand description
A Direct3D 9 sampler register and the Shader Model 4 sampler and resource it stands for.
Fields§
§resource: u8The Shader Model 4 resource (t#).
sampler: u8The Shader Model 4 sampler (s#).
target: u8The Direct3D 9 sampler register (s#).
Trait Implementations§
Source§impl Clone for SamplerMapping
impl Clone for SamplerMapping
Source§impl Debug for SamplerMapping
impl Debug for SamplerMapping
impl Eq for SamplerMapping
Source§impl PartialEq for SamplerMapping
impl PartialEq for SamplerMapping
impl StructuralPartialEq for SamplerMapping
Auto Trait Implementations§
impl Forget for SamplerMapping
impl Freeze for SamplerMapping
impl RefUnwindSafe for SamplerMapping
impl Send for SamplerMapping
impl Sync for SamplerMapping
impl Unpin for SamplerMapping
impl UnsafeUnpin for SamplerMapping
impl UnwindSafe for SamplerMapping
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