/* * Copyright (C) Oscar Shrimpton 2020 * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ //! Convenience module to reference types that are stored in the backend's enum pub type Device = ::Device; pub type Buffer = ::Buffer; pub type Memory = ::Memory; pub type Swapchain = ::Swapchain; pub type Surface = ::Surface; pub type Semaphore = ::Semaphore; pub type Fence = ::Fence; pub type CommandPool = ::CommandPool; pub type CommandBuffer = ::CommandBuffer; pub type CommandQueue = ::CommandQueue; pub type DescriptorSetLayout = ::DescriptorSetLayout; pub type DescriptorPool = ::DescriptorPool; pub type DescriptorSet = ::DescriptorSet; pub type PipelineLayout = ::PipelineLayout; pub type GraphicsPipeline = ::GraphicsPipeline; pub type ShaderModule = ::ShaderModule; pub type Sampler = ::Sampler; pub type Image = ::Image; pub type ImageView = ::ImageView; pub type Framebuffer = ::Framebuffer; pub type RenderPass = ::RenderPass; pub type Adapter = hal::adapter::Adapter; pub type QueueGroup = hal::queue::QueueGroup; pub type DynamicAllocator = rendy_memory::DynamicAllocator; pub type DynamicBlock = rendy_memory::DynamicBlock;