TextureReaderXNB.h#
↰ Parent directory (textureio
)
An experimental AssetReader that reads pvr::asset::Texture objects from an XNB file.
Includes#
PVRCore/stream/Stream.h
PVRCore/texture/Texture.h
Included By#
Namespaces#
Functions#
Source Code#
#pragma once
#include "PVRCore/texture/Texture.h"
#include "PVRCore/stream/Stream.h"
namespace pvr {
class Stream;
namespace assetReaders {
Texture readXNB(const ::pvr::Stream& stream, int assetIndex = 0);
VariableType getPVRTypeFromXNBFormat(uint32_t xnbFormat);
uint64_t getPVRFormatFromXNBFormat(uint32_t xnbFormat);
} // namespace assetReaders
} // namespace pvr