struct
DrawDataShape draw data.
Contents
Constructors, destructors, conversion operators
-
DrawData(Containers::
Array<GL:: Mesh> meshes, Containers:: Array<GL::Buffer> vertexBuffers, Containers:: Array<Containers:: Optional<GL::Buffer>> indexBuffers, Containers:: Array<Trade:: PhongMaterialData> materials, Containers:: Array<Containers:: Optional<GL:: Texture2D>> textures, const Vector3& scaling) explicit - Constructor.
- DrawData(const DrawData&) deleted
- Copying is not allowed.
- DrawData(DrawData&&) noexcept defaulted
- Move constructor.
Public functions
Public variables
- Containers::
Array<GL:: Mesh> meshes - Meshes.
- Containers::
Array<GL::Buffer> vertexBuffers - Vertex buffers.
- Containers::
Array<Containers:: Optional<GL::Buffer>> indexBuffers - Index buffers.
- Containers::
Array<Trade:: PhongMaterialData> materials - Material data.
- Containers::
Array<Containers:: Optional<GL:: Texture2D>> textures - Textures.
- Vector3 scaling
- Scaling.
Function documentation
Magnum:: DartIntegration:: DrawData:: DrawData(Containers:: Array<GL:: Mesh> meshes,
Containers:: Array<GL::Buffer> vertexBuffers,
Containers:: Array<Containers:: Optional<GL::Buffer>> indexBuffers,
Containers:: Array<Trade:: PhongMaterialData> materials,
Containers:: Array<Containers:: Optional<GL:: Texture2D>> textures,
const Vector3& scaling) explicit
Constructor.
Parameters | |
---|---|
meshes | Meshes |
vertexBuffers | Vertex buffers |
indexBuffers | Index buffers |
materials | Material data |
textures | Textures |
scaling | Object scaling |
Used internally by Object.