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: bool
descriptor_sets: Vec<DescriptorSet, Global>
descriptor_sets_compute: Vec<DescriptorSet, Global>
screenshot_ctx: ScreenshotCtx<'a>
push_constant: PushConstant
scissors: Box<[Rect2D], Global>
viewports: Box<[Viewport], Global>
extent: Extent2D
shader_set: HashMap<PathBuf, usize, RandomState>
compiler: Compiler
rendering_complete_semaphore: Semaphore
present_complete_semaphore: Semaphore
command_pool: VkCommandPool
command_pool_transfer: VkCommandPool
pipeline_cache: PipelineCache
pipelines: Vec<Pipeline, Global>
render_pass: VkRenderPass
framebuffers: Vec<Framebuffer, Global>
swapchain: VkSwapchain
surface: VkSurface
device_properties: VkDeviceProperties
queues: VkQueues
device: VkDevice
instance: VkInstance