MfxAttributeProps#

struct MfxAttributeProps#

Mfx*Props classes are a little different: for caching and convenience, they store some data and care must be taken not to copy it around too much (though it does not directly store the attribute data, only metadata).

Public Functions

MfxAttributeProps()#
template<typename T>
T *at(int index)#

Compute a pointer to the index-th element of the data buffer. The template argument should be set with respect to type.

template<typename T>
const T *at(int index) const#

Public Members

MfxAttributeType type#
int stride#
int componentCount#
char *data#
bool isOwner#