pub fn fill_buffer<B>(self, buffer: B, data: u32) -> Result<Self, FillBufferError>
    where
        B: vk::BufferAccess + Send + Sync + 'static,
    {
        self.map_cb(move |cb| cb.fill_buffer(buffer, data))
    }
/// Adds a command that writes the content of a buffer.
///
/// This function is similar to the `memset` function in C. The `data` parameter is a number
/// that will be repeatedly written through the entire buffer.
///
/// > **Note**: This function is technically safe because buffers can only contain integers or
/// > floating point numbers, which are always valid whatever their memory representation is.
/// > But unless your buffer actually contains only 32-bits integers, you are encouraged to use
/// > this function only for zeroing the content of a buffer by passing `0` for the data.
Adds a command that writes the content of a buffer.
This function is similar to the `memset` function in C. The `data` parameter is a number
that will be repeatedly written through the entire buffer.

> **Note**: This function is technically safe because buffers can only contain integers or
> floating point numbers, which are always valid whatever their memory representation is.
> But unless your buffer actually contains only 32-bits integers, you are encouraged to use
> this function only for zeroing the content of a buffer by passing `0` for the data.
Adds a command that writes the content of a buffer . This function is similar to the ` memset ` function in C . The ` data ` parameter is a number that will be repeatedly written through the entire buffer . > ** Note ** : This function is technically safe because buffers can only contain integers or > floating point numbers which are always valid whatever their memory representation is . > But unless your buffer actually contains only 32 - bits integers you are encouraged to use > this function only for zeroing the content of a buffer by passing ` 0 ` for the data .
pub fn fill_buffer<B>(self, buffer: B, data: u32) -> Result<Self, FillBufferError>
    where
        B: vk::BufferAccess + Send + Sync + 'static,
    {
        self.map_cb(move |cb| cb.fill_buffer(buffer, data))
    }
pub fn fill_buffer < B > ( self , buffer : B , data : u32 ) -> Result < Self , FillBufferError > where B : vk :: BufferAccess + Send + Sync + ' static , { self . map_cb ( move | cb | cb . fill_buffer ( buffer , data ) ) }
Adds a command that writes the content of a buffer.
Adds a command that writes the content of a buffer .
self
buffer
B
data
u32
self
buffer
B
data
u32