OptionallabelThe label of the RenderBundle, sent to various GPU objects for debugging purpose.
OptionalrenderThe 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).
OptionaluseWhether 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.
OptionalsizeFixed size (number of meshes) of the RenderBundle. Mostly useful when using the useBuffer parameter.
OptionaluseWhether this RenderBundle should create its own IndirectBuffer and add its meshes geometries to it. Default to false.
OptionalrenderControls the order in which this RenderBundle should be rendered by our Scene.
OptionaltransparentWhether this RenderBundle should be added to our Scene transparent stack (drawn after the opaque stack).
OptionalvisibleWhether this RenderBundle content should be drawn.
Parameters used to created a RenderBundle.