pub struct DescriptorStorage { /* private fields */ }Implementations§
Source§impl DescriptorStorage
impl DescriptorStorage
pub unsafe fn create( physical_device: &PhysicalDevice, device: &Device, bindings: &[DescriptorBinding<'_>], push_constant_range: Option<PushConstantRange>, ) -> Result<Self>
pub unsafe fn destroy(self, device: &Device)
pub unsafe fn bind(&self, device: &Device, cmd: CommandBuffer)
pub unsafe fn set_offsets( &self, device: &Device, cmd: CommandBuffer, pipeline_bind_point: PipelineBindPoint, )
pub unsafe fn push_constants<T>( &self, device: &Device, cmd: CommandBuffer, data: &T, ) -> Result<()>
pub fn pipeline_layout(&self) -> PipelineLayout
pub fn set_layouts(&self) -> &[DescriptorSetLayout]
pub fn push_constant_ranges(&self) -> &[PushConstantRange]
Auto Trait Implementations§
impl Freeze for DescriptorStorage
impl RefUnwindSafe for DescriptorStorage
impl !Send for DescriptorStorage
impl !Sync for DescriptorStorage
impl Unpin for DescriptorStorage
impl UnwindSafe for DescriptorStorage
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