pub struct Rendy<B: Backend> {
pub families: Families<B>,
pub factory: Factory<B>,
}
Expand description
Initialized rendy instance without window.
Create with Rendy::init
.
OpenGL can’t be initialized without window, see WindowedRendy
to initialize rendy on OpenGL.
Fields§
§families: Families<B>
§factory: Factory<B>
Implementations§
Source§impl<B: Backend> Rendy<B>
impl<B: Backend> Rendy<B>
pub fn init( config: &Config<impl DevicesConfigure, impl HeapsConfigure, impl QueuesConfigure>, ) -> Result<Self, RendyInitError>
Trait Implementations§
Auto Trait Implementations§
impl<B> !Freeze for Rendy<B>
impl<B> !RefUnwindSafe for Rendy<B>
impl<B> Send for Rendy<B>
impl<B> Sync for Rendy<B>
impl<B> Unpin for Rendy<B>where
<B as Backend>::Device: Unpin,
<B as Backend>::PhysicalDevice: Unpin,
<B as Backend>::Instance: Unpin,
<B as Backend>::QueueFamily: Unpin,
<B as Backend>::CommandQueue: Unpin,
<B as Backend>::Buffer: Unpin,
<B as Backend>::Image: Unpin,
<B as Backend>::ImageView: Unpin,
<B as Backend>::DescriptorSetLayout: Unpin,
<B as Backend>::Sampler: Unpin,
<B as Backend>::DescriptorSet: Unpin,
<B as Backend>::CommandPool: Unpin,
<B as Backend>::Fence: Unpin,
<B as Backend>::Memory: Unpin,
<B as Backend>::DescriptorPool: Unpin,
impl<B> UnwindSafe for Rendy<B>where
<B as Backend>::Device: UnwindSafe,
<B as Backend>::PhysicalDevice: UnwindSafe,
<B as Backend>::Instance: UnwindSafe,
<B as Backend>::QueueFamily: UnwindSafe,
<B as Backend>::CommandQueue: UnwindSafe,
<B as Backend>::Buffer: UnwindSafe,
<B as Backend>::Image: UnwindSafe + RefUnwindSafe,
<B as Backend>::ImageView: UnwindSafe,
<B as Backend>::DescriptorSetLayout: UnwindSafe + RefUnwindSafe,
<B as Backend>::Sampler: UnwindSafe + RefUnwindSafe,
<B as Backend>::DescriptorSet: RefUnwindSafe + UnwindSafe,
<B as Backend>::CommandPool: UnwindSafe,
<B as Backend>::DescriptorPool: UnwindSafe,
<B as Backend>::Fence: UnwindSafe,
<B as Backend>::Memory: UnwindSafe + RefUnwindSafe,
<B as Backend>::CommandBuffer: RefUnwindSafe,
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