SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::BlendingDataView Struct Reference

Non-owning view of blending data for one source shape within a soft skinned mesh. More...

#include <mesh_data.h>

Public Member Functions

 BlendingDataView ()=default
 BlendingDataView (BlendingData const &src)
 Implicit conversion from BlendingData.
bool operator!= (BlendingDataView const &other) const =default
bool operator== (BlendingDataView const &other) const =default

Public Attributes

Span< int const > indices
 See BlendingData::indices.
std::string_view sourceShape
 See BlendingData::sourceShape.
Span< real const > weights
 See BlendingData::weights.

Detailed Description

Non-owning view of blending data for one source shape within a soft skinned mesh.

See also
BlendingData

Definition at line 89 of file mesh_data.h.

Constructor & Destructor Documentation

◆ BlendingDataView() [1/2]

superdex::BlendingDataView::BlendingDataView ( )
default

◆ BlendingDataView() [2/2]

superdex::BlendingDataView::BlendingDataView ( BlendingData const & src)
inline

Implicit conversion from BlendingData.

Parameters
[in]srcSource data.

Definition at line 22 of file mesh_data_inl.h.

Member Function Documentation

◆ operator!=()

bool superdex::BlendingDataView::operator!= ( BlendingDataView const & other) const
default

◆ operator==()

bool superdex::BlendingDataView::operator== ( BlendingDataView const & other) const
default

Member Data Documentation

◆ indices

Span<int const> superdex::BlendingDataView::indices

See BlendingData::indices.

Definition at line 102 of file mesh_data.h.

◆ sourceShape

std::string_view superdex::BlendingDataView::sourceShape

See BlendingData::sourceShape.

Definition at line 100 of file mesh_data.h.

◆ weights

Span<real const> superdex::BlendingDataView::weights

See BlendingData::weights.

Definition at line 104 of file mesh_data.h.


The documentation for this struct was generated from the following files: