7#include <pxr/base/vt/array.h>
8#include <pxr/imaging/hd/sceneDelegate.h>
26 pxr::VtVec2fArray
uvs;
33 int submeshes_count_ = 0;
43 pxr::VtValue
get_data(pxr::TfToken
const &key)
const override;
44 pxr::VtValue
get_data(pxr::SdfPath
const &
id, pxr::TfToken
const &key)
const override;
45 pxr::SdfPath
material_id(pxr::SdfPath
const &
id)
const override;
48 pxr::HdMeshTopology
topology(pxr::SdfPath
const &
id)
const;
49 pxr::HdPrimvarDescriptorVector
primvar_descriptors(pxr::HdInterpolation interpolation)
const;
50 pxr::HdCullStyle
cull_style(pxr::SdfPath
const &
id)
const;
59 pxr::SdfPath submesh_prim_id(
int index)
const;
60 const SubMesh &submesh(pxr::SdfPath
const &
id)
const;
61 void write_submeshes(
const Mesh *mesh);
pxr::HdMeshTopology topology(pxr::SdfPath const &id) const
void write_materials() override
pxr::VtValue get_data(pxr::TfToken const &key) const override
pxr::SdfPathVector submesh_paths() const
pxr::HdCullStyle cull_style(pxr::SdfPath const &id) const
void update_double_sided(MaterialData *mat_data)
void available_materials(Set< pxr::SdfPath > &paths) const override
pxr::HdPrimvarDescriptorVector primvar_descriptors(pxr::HdInterpolation interpolation) const
bool double_sided(pxr::SdfPath const &id) const
MeshData(HydraSceneDelegate *scene_delegate, const Object *object, pxr::SdfPath const &prim_id)
virtual pxr::SdfPath material_id() const
pxr::VtVec3fArray normals
pxr::VtVec3fArray vertices
pxr::VtIntArray face_vertex_counts
pxr::VtIntArray face_vertex_indices