pub struct ShaderInputBindDesc(/* private fields */);Expand description
Describes how a shader resource is bound to a shader input.
For more information: D3D12_SHADER_INPUT_BIND_DESC structure
Implementations§
Source§impl ShaderInputBindDesc
impl ShaderInputBindDesc
pub fn name(&self) -> &CStr
pub fn input_type(&self) -> ShaderInputType
pub fn bind_point(&self) -> u32
pub fn bind_count(&self) -> u32
pub fn flags(&self) -> u32
pub fn return_type(&self) -> ResourceReturnType
pub fn dimension(&self) -> SrvDimension
pub fn num_samples(&self) -> u32
pub fn space(&self) -> u32
pub fn id(&self) -> u32
Trait Implementations§
Source§impl Clone for ShaderInputBindDesc
impl Clone for ShaderInputBindDesc
Source§fn clone(&self) -> ShaderInputBindDesc
fn clone(&self) -> ShaderInputBindDesc
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 ShaderInputBindDesc
impl Debug for ShaderInputBindDesc
Source§impl Default for ShaderInputBindDesc
impl Default for ShaderInputBindDesc
Source§fn default() -> ShaderInputBindDesc
fn default() -> ShaderInputBindDesc
Returns the “default value” for a type. Read more
Source§impl PartialEq for ShaderInputBindDesc
impl PartialEq for ShaderInputBindDesc
impl Copy for ShaderInputBindDesc
impl StructuralPartialEq for ShaderInputBindDesc
Auto Trait Implementations§
impl Freeze for ShaderInputBindDesc
impl RefUnwindSafe for ShaderInputBindDesc
impl !Send for ShaderInputBindDesc
impl !Sync for ShaderInputBindDesc
impl Unpin for ShaderInputBindDesc
impl UnwindSafe for ShaderInputBindDesc
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