View over a batch of instances to be drawn in a Renderer3D frame.
More...
#include <GREM/graphics_3d/Instances3D.hpp>
View over a batch of instances to be drawn in a Renderer3D frame.
◆ Instances3DView() [1/4]
Construct an instance batch view.
- Parameters
-
| instances | instances to reference. Must outlive the view. |
| filter | filter parameters, see Instances3DFilter. |
◆ Instances3DView() [2/4]
Construct an instance batch view with a 2D shader override.
- Parameters
-
| instances | instances to reference. Must outlive the view. |
| shaderPipelineOverride2D | shader pipeline override to use for 2D mesh instances. |
| filter | filter parameters, see Instances3DFilter. |
◆ Instances3DView() [3/4]
Construct an instance batch view with a 3D shader override.
- Parameters
-
| instances | instances to reference. Must outlive the view. |
| shaderPipelineOverride3D | shader pipeline override to use for 3D mesh instances. |
| filter | filter parameters, see Instances3DFilter. |
◆ Instances3DView() [4/4]
Construct an instance batch view with both 2D and 3D shader overrides.
- Parameters
-
| instances | instances to reference. Must outlive the view. |
| shaderPipelineOverride2D | shader pipeline override to use for 2D mesh instances. |
| shaderPipelineOverride3D | shader pipeline override to use for 3D mesh instances. |
| filter | filter parameters, see Instances3DFilter. |
◆ instances
| const Instances3D* grem::graphics::Instances3DView::instances |
Non-owning read-only pointer to the batch of instances.
Must not be nullptr.
◆ shaderPipelineOverride2DHandle
| SharedPointer<ShaderPipelineImplementation> grem::graphics::Instances3DView::shaderPipelineOverride2DHandle {} |
Shader pipeline override to use for 2D mesh instances, or nullptr to not use a shader override.
◆ shaderPipelineOverride3DHandle
| SharedPointer<ShaderPipelineImplementation> grem::graphics::Instances3DView::shaderPipelineOverride3DHandle {} |
Shader pipeline override to use for 3D mesh instances, 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: