struct
#include <Magnum/DartIntegration/Object.h>
DrawData Shape draw data.
Constructors, destructors, conversion operators
-
DrawData(Containers::
Array <GL::Mesh > meshes, 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&&) defaulted noexcept
- Move constructor.
Public functions
Public variables
-
Containers::
Array <GL::Mesh > meshes - Meshes.
-
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 <Trade::PhongMaterialData > materials,
Containers::Array <Containers::Optional <GL::Texture2D >> textures,
const Vector3& scaling) explicit
Constructor.
Parameters | |
---|---|
meshes | Meshes |
materials | Material data |
textures | Textures |
scaling | Object scaling |
Used internally by Object.