pub struct AshRender<'a> {
Show 21 fields pub paused: bool, pub descriptor_sets_render: Vec<DescriptorSet>, pub descriptor_sets_compute: Vec<DescriptorSet>, pub screenshot_ctx: ScreenshotCtx<'a>, pub push_constants_range: u32, pub scissors: Rect2D, pub viewport: Viewport, pub resolution: Extent2D, pub rendering_complete_semaphore: Semaphore, pub present_complete_semaphore: Semaphore, pub command_pool: VkCommandPool, pub command_pool_transfer: VkCommandPool, pub pipeline_cache: PipelineCache, pub pipelines: Vec<Pipeline>, pub render_pass: VkRenderPass, pub framebuffers: Vec<Framebuffer>, pub swapchain: VkSwapchain, pub surface: VkSurface, pub device_properties: VkDeviceProperties, pub queues: VkQueues, pub device: VkDevice, /* private fields */
}
Expand description

The main struct that holds all render primitives

Rust documentation states for FIFO drop order for struct fields. Or in the other words it’s the same order that they’re declared.

Fields

paused: booldescriptor_sets_render: Vec<DescriptorSet>descriptor_sets_compute: Vec<DescriptorSet>screenshot_ctx: ScreenshotCtx<'a>push_constants_range: u32scissors: Rect2Dviewport: Viewportresolution: Extent2Drendering_complete_semaphore: Semaphorepresent_complete_semaphore: Semaphorecommand_pool: VkCommandPoolcommand_pool_transfer: VkCommandPoolpipeline_cache: PipelineCachepipelines: Vec<Pipeline>render_pass: VkRenderPassframebuffers: Vec<Framebuffer>swapchain: VkSwapchainsurface: VkSurfacedevice_properties: VkDevicePropertiesqueues: VkQueuesdevice: VkDevice

Implementations

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.