24 #ifndef PXR_BASE_GF_MATRIX_DATA_H
25 #define PXR_BASE_GF_MATRIX_DATA_H
35 template <
class T,
int Rows,
int Columns>
41 return _data + (row * Columns);
46 return _data + (row * Columns);
61 T _data[Rows * Columns];
66 #endif // PXR_BASE_GF_MATRIX_DATA_H
T const * operator[](int row) const
Return a const pointer to a row of data.
T * operator[](int row)
Return a pointer to a row of data.
T * GetData()
Return a pointer to the start of all the data.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
T const * GetData() const
Return a const pointer to the start of all the data.
#define PXR_NAMESPACE_CLOSE_SCOPE
GLenum GLenum GLsizei void * row