[−][src]Struct nobs_vkpipes::descriptor::writes::DescriptorBufferInfoBuilder
Builder for a descriptor buffer info to write a buffer binding
Default initialized to
- buffer: vk::NULL_HANDLE
- offset: 0
- range: vk::WHOLE_SIZE
Methods
impl DescriptorBufferInfoBuilder
[src]
pub fn set(
self,
buffer: Buffer,
offset: DeviceSize,
range: DeviceSize
) -> DescriptorBufferInfoBuilder
[src]
self,
buffer: Buffer,
offset: DeviceSize,
range: DeviceSize
) -> DescriptorBufferInfoBuilder
Sets the complete configuration
Arguments
buffer
- buffer handle to writeoffset
- offset into the buffer in bytesrange
- size of the bound range of the buffer
pub fn buffer(self, buffer: Buffer) -> DescriptorBufferInfoBuilder
[src]
Sets the buffer handle
pub fn offset(self, offset: DeviceSize) -> DescriptorBufferInfoBuilder
[src]
Sets the off set into the buffer
pub fn range(self, range: DeviceSize) -> DescriptorBufferInfoBuilder
[src]
Sets the bound size of the buffer
pub fn get(self) -> DescriptorBufferInfo
[src]
Gets the configured vk::DescriptorBufferInfo
, consumes the builder
Trait Implementations
Auto Trait Implementations
impl Send for DescriptorBufferInfoBuilder
impl Sync for DescriptorBufferInfoBuilder
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,