Optional
labelThe label of the RenderBundle, sent to various GPU objects for debugging purpose.
Optional
renderThe RenderPass used to describe the RenderBundle encoder descriptor. Default to the first added mesh output target if not set (usually the renderer main render pass or renderer post processing pass).
Optional
useWhether the RenderBundle should handle all its child meshes transformation matrices with a single GPUBuffer. Can greatly improve performance when dealing with a lot of moving objects, but the size parameter has to be set upon creation and should not change afterwards. Default to false
.
Optional
sizeFixed size (number of meshes) of the RenderBundle. Mostly useful when using the useBuffer parameter.
Optional
useWhether this RenderBundle should create its own IndirectBuffer and add its meshes geometries to it. Default to false
.
Optional
renderControls the order in which this RenderBundle should be rendered by our Scene.
Optional
transparentWhether this RenderBundle should be added to our Scene transparent stack (drawn after the opaque stack).
Optional
visibleWhether this RenderBundle content should be drawn.
Parameters used to created a RenderBundle.