[−][src]Trait bedrock::resources::MemoryBound
[feature = "Implements"] Common operations for memory bound objects
Required methods
fn requirements(&self) -> VkMemoryRequirements
Returns the memory requirements for specified Vulkan object
fn bind(&self, memory: &DeviceMemory, offset: usize) -> Result<()>
Bind device memory to the object
Failure
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY