| 1234567891011121314151617181920212223242526272829 |
- #include "CmPixelData.h"
- #include "CmPixelUtil.h"
- #include "CmPixelDataRTTI.h"
- namespace CamelotFramework
- {
- PixelData::PixelData(const PixelData& copy)
- :GpuResourceData(copy)
- {
- mFormat = copy.mFormat;
- mRowPitch = copy.mRowPitch;
- mSlicePitch = copy.mSlicePitch;
- mExtents = copy.mExtents;
- }
- /************************************************************************/
- /* SERIALIZATION */
- /************************************************************************/
- RTTITypeBase* PixelData::getRTTIStatic()
- {
- return PixelDataRTTI::instance();
- }
- RTTITypeBase* PixelData::getRTTI() const
- {
- return PixelData::getRTTIStatic();
- }
- }
|