[][src]Struct rendy_init::Rendy

pub struct Rendy<B: Backend> {
    pub families: Families<B>,
    pub factory: Factory<B>,
}

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>

Methods

impl<B: Backend> Rendy<B>[src]

pub fn init(
    config: &Config<impl DevicesConfigure, impl HeapsConfigure, impl QueuesConfigure>
) -> Result<Self, RendyInitError>
[src]

Trait Implementations

impl<B: Debug + Backend> Debug for Rendy<B>[src]

Auto Trait Implementations

impl<B> Send for Rendy<B> where
    <B as Backend>::Buffer: Send,
    <B as Backend>::CommandBuffer: Send,
    <B as Backend>::CommandPool: Send,
    <B as Backend>::CommandQueue: Send,
    <B as Backend>::DescriptorPool: Send,
    <B as Backend>::DescriptorSet: Send,
    <B as Backend>::DescriptorSetLayout: Send + Sync,
    <B as Backend>::Device: Send,
    <B as Backend>::Fence: Send,
    <B as Backend>::Image: Send + Sync,
    <B as Backend>::ImageView: Send,
    <B as Backend>::Instance: Send,
    <B as Backend>::PhysicalDevice: Send,
    <B as Backend>::QueueFamily: Send,
    <B as Backend>::Sampler: Send + Sync

impl<B> Sync for Rendy<B> where
    <B as Backend>::Buffer: Send + Sync,
    <B as Backend>::CommandBuffer: Send,
    <B as Backend>::CommandPool: Send,
    <B as Backend>::CommandQueue: Sync,
    <B as Backend>::DescriptorPool: Send,
    <B as Backend>::DescriptorSet: Send + Sync,
    <B as Backend>::DescriptorSetLayout: Send + Sync,
    <B as Backend>::Device: Sync,
    <B as Backend>::Fence: Send,
    <B as Backend>::Image: Send + Sync,
    <B as Backend>::ImageView: Send + Sync,
    <B as Backend>::Instance: Sync,
    <B as Backend>::PhysicalDevice: Sync,
    <B as Backend>::QueueFamily: Sync,
    <B as Backend>::Sampler: Send + Sync

impl<B> Unpin for Rendy<B> where
    <B as Backend>::Buffer: Unpin,
    <B as Backend>::CommandPool: Unpin,
    <B as Backend>::CommandQueue: Unpin,
    <B as Backend>::DescriptorPool: Unpin,
    <B as Backend>::DescriptorSet: Unpin,
    <B as Backend>::DescriptorSetLayout: Unpin,
    <B as Backend>::Device: Unpin,
    <B as Backend>::Fence: Unpin,
    <B as Backend>::Image: Unpin,
    <B as Backend>::ImageView: Unpin,
    <B as Backend>::Instance: Unpin,
    <B as Backend>::Memory: Unpin,
    <B as Backend>::PhysicalDevice: Unpin,
    <B as Backend>::QueueFamily: Unpin,
    <B as Backend>::Sampler: Unpin

impl<B> UnwindSafe for Rendy<B> where
    <B as Backend>::Buffer: UnwindSafe,
    <B as Backend>::CommandBuffer: RefUnwindSafe,
    <B as Backend>::CommandPool: UnwindSafe,
    <B as Backend>::CommandQueue: UnwindSafe,
    <B as Backend>::DescriptorPool: UnwindSafe,
    <B as Backend>::DescriptorSet: RefUnwindSafe + UnwindSafe,
    <B as Backend>::DescriptorSetLayout: RefUnwindSafe + UnwindSafe,
    <B as Backend>::Device: UnwindSafe,
    <B as Backend>::Fence: UnwindSafe,
    <B as Backend>::Image: RefUnwindSafe + UnwindSafe,
    <B as Backend>::ImageView: UnwindSafe,
    <B as Backend>::Instance: UnwindSafe,
    <B as Backend>::Memory: RefUnwindSafe + UnwindSafe,
    <B as Backend>::PhysicalDevice: UnwindSafe,
    <B as Backend>::QueueFamily: UnwindSafe,
    <B as Backend>::Sampler: RefUnwindSafe + UnwindSafe

impl<B> !RefUnwindSafe for Rendy<B>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]