|
using | SelfType = Buffer<T, D> |
|
using | ValueType = T |
|
|
| Buffer (std::size_t count=0ULL) |
|
SelfType & | operator= (SelfType const &other) |
|
template<int D2> |
SelfType & | operator= (Buffer< T, D2 > const &other) |
|
thrust::device_vector< T > & | operator[] (auto d) |
|
thrust::device_vector< T > const & | operator[] (auto d) const |
|
std::size_t | Size () const |
|
bool | Empty () const |
|
std::vector< T > | Get () const |
|
std::vector< T > | Get (std::size_t count) const |
|
std::conditional_t<(D > 1), std::array< thrust::device_ptr< T >, D >, thrust::device_ptr< T > > | Data () |
|
std::conditional_t<(D > 1), std::array< thrust::device_ptr< T const >, D >, thrust::device_ptr< T const > > | Data () const |
|
void | Resize (std::size_t count) |
|
void | SetConstant (T value) |
|
std::conditional_t<(D > 1), std::array< T *, D >, T * > | Raw () |
|
std::conditional_t<(D > 1), std::array< T const *, D >, T const * > | Raw () const |
|
constexpr auto | Dimensions () const |
|
template<int D2> |
Buffer< T, D > & | operator= (Buffer< T, D2 > const &other) |
|
|
static auto constexpr | kDims = D |
|
The documentation for this class was generated from the following file:
- C:/git/PhysicsBasedAnimationToolkit/source/pbat/gpu/impl/common/Buffer.cuh