MCPcopy Create free account
hub / github.com/Tracktion/choc / create2DArrayView

Function create2DArrayView

choc/containers/choc_Value.h:2161–2164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2159
2160template <typename ElementType>
2161ValueView create2DArrayView (ElementType* sourceData, uint32_t numArrayElements, uint32_t numVectorElements)
2162{
2163 return ValueView (Type::createArrayOfVectors<ElementType> (numArrayElements, numVectorElements), sourceData, nullptr);
2164}
2165
2166template <typename TargetType>
2167TargetType ValueView::readContentAs() const { return readUnaligned<TargetType> (data); }

Callers 1

Calls 1

ValueViewClass · 0.85

Tested by

no test coverage detected