Struct pilka_lib::PilkaRender[][src]

pub struct PilkaRender<'a> {
Show 24 fields pub paused: bool, pub descriptor_sets: Vec<DescriptorSet, Global>, pub descriptor_sets_compute: Vec<DescriptorSet, Global>, pub screenshot_ctx: ScreenshotCtx<'a>, pub push_constant: PushConstant, pub scissors: Box<[Rect2D], Global>, pub viewports: Box<[Viewport], Global>, pub extent: Extent2D, pub shader_set: HashMap<PathBuf, usize, RandomState>, pub compiler: Compiler, 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, Global>, pub render_pass: VkRenderPass, pub framebuffers: Vec<Framebuffer, Global>, pub swapchain: VkSwapchain, pub surface: VkSurface, pub device_properties: VkDeviceProperties, pub queues: VkQueues, pub device: VkDevice, pub instance: VkInstance, // some fields omitted
}
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: Vec<DescriptorSet, Global>descriptor_sets_compute: Vec<DescriptorSet, Global>screenshot_ctx: ScreenshotCtx<'a>push_constant: PushConstantscissors: Box<[Rect2D], Global>viewports: Box<[Viewport], Global>extent: Extent2Dshader_set: HashMap<PathBuf, usize, RandomState>compiler: Compilerrendering_complete_semaphore: Semaphorepresent_complete_semaphore: Semaphorecommand_pool: VkCommandPoolcommand_pool_transfer: VkCommandPoolpipeline_cache: PipelineCachepipelines: Vec<Pipeline, Global>render_pass: VkRenderPassframebuffers: Vec<Framebuffer, Global>swapchain: VkSwapchainsurface: VkSurfacedevice_properties: VkDevicePropertiesqueues: VkQueuesdevice: VkDeviceinstance: VkInstance

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

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.