UI module

Renderer

structsince 0.31.0Source

A renderer bound to one window or to an offscreen target.

Fields

instance: WGPUInstance
adapter: WGPUAdapter
device: WGPUDevice
queue: WGPUQueue
surface: WGPUSurface
null when rendering offscreen
format: WGPUTextureFormat
pipeline: WGPURenderPipeline
uniforms: WGPUBuffer
instances: WGPUBuffer
instance_capacity: int
bind_group: WGPUBindGroup
atlas: WGPUTexture
atlas_view: WGPUTextureView
sampler: WGPUSampler
atlas_version: int
width: int
target size in pixels
height: int
target: WGPUTexture
offscreen only
target_view: WGPUTextureView
staged: [..] Instance_Data
batches: [..] Batch

See also