View over a batch of instances to be drawn in a Renderer2D frame.
More...
#include <GREM/graphics_2d/Instances2D.hpp>
View over a batch of instances to be drawn in a Renderer2D frame.
◆ Instances2DView() [1/2]
Construct an instance batch view.
- Parameters
-
| instances | instances to reference. Must outlive the view. |
| filter | filter parameters, see Instances2DFilter. |
◆ Instances2DView() [2/2]
Construct an instance batch view with a shader override.
- Parameters
-
| instances | instances to reference. Must outlive the view. |
| shaderPipelineOverride | shader pipeline override to use. |
| filter | filter parameters, see Instances2DFilter. |
◆ instances
| const Instances2D* grem::graphics::Instances2DView::instances |
Non-owning read-only pointer to the batch of instances.
Must not be nullptr.
◆ shaderPipelineOverrideHandle
| SharedPointer<ShaderPipelineImplementation> grem::graphics::Instances2DView::shaderPipelineOverrideHandle {} |
Shader pipeline override to use, or nullptr to not use a shader override.
◆ filter
Filter parameters that determine which instances to draw.
The documentation for this struct was generated from the following file: