pub struct Reflection(/* private fields */);Implementations§
Source§impl Reflection
impl Reflection
pub fn new(dxc: &Dxc, buffer: &[u8]) -> Result<Self, Error>
pub fn input_parameters(&self) -> Result<Vec<SignatureParameterDesc>, Error>
pub fn resource_bind_descs(&self) -> Result<Vec<ShaderInputBindDesc>, Error>
pub fn constant_buffer_descs(&self) -> Result<Vec<ShaderBufferDesc>, Error>
pub fn thread_group_size(&self) -> ThreadGroupSize
pub fn as_raw_handle(&self) -> &ID3D12ShaderReflection
Trait Implementations§
Source§impl Clone for Reflection
impl Clone for Reflection
Source§fn clone(&self) -> Reflection
fn clone(&self) -> Reflection
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 moreAuto Trait Implementations§
impl Freeze for Reflection
impl RefUnwindSafe for Reflection
impl Send for Reflection
impl Sync for Reflection
impl Unpin for Reflection
impl UnwindSafe for Reflection
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