pub struct EntryPointResources {
pub resources: BTreeMap<ResourceBinding, BindTarget>,
pub push_constant_buffer: Option<u8>,
pub sizes_buffer: Option<u8>,
}
Fields§
§resources: BTreeMap<ResourceBinding, BindTarget>
§push_constant_buffer: Option<u8>
§sizes_buffer: Option<u8>
The slot of a buffer that contains an array of u32
,
one for the size of each bound buffer that contains a runtime array,
in order of crate::GlobalVariable
declarations.
Trait Implementations§
source§impl Clone for EntryPointResources
impl Clone for EntryPointResources
source§fn clone(&self) -> EntryPointResources
fn clone(&self) -> EntryPointResources
Returns a copy 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 EntryPointResources
impl Debug for EntryPointResources
source§impl Default for EntryPointResources
impl Default for EntryPointResources
source§fn default() -> EntryPointResources
fn default() -> EntryPointResources
Returns the “default value” for a type. Read more
source§impl Hash for EntryPointResources
impl Hash for EntryPointResources
source§impl PartialEq for EntryPointResources
impl PartialEq for EntryPointResources
source§fn eq(&self, other: &EntryPointResources) -> bool
fn eq(&self, other: &EntryPointResources) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EntryPointResources
impl StructuralEq for EntryPointResources
impl StructuralPartialEq for EntryPointResources
Auto Trait Implementations§
impl RefUnwindSafe for EntryPointResources
impl Send for EntryPointResources
impl Sync for EntryPointResources
impl Unpin for EntryPointResources
impl UnwindSafe for EntryPointResources
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.