Classes

Assets/Textures

Brief descriptions

Detailed information

assets::TextureAssetTag

engine/core/modules/assets/include/nau/assets/asset_ref.h

struct TextureAssetTag

Temporary texture asset tags.


TextureDescription

engine/core/modules/assets/include/nau/assets/texture_asset_accessor.h

struct TextureDescription

Public Members

uint32_t width = 0
uint32_t height = 0
uint32_t depth = 0
uint32_t numMipmaps = 0
uint32_t arraySize = 0
TinyImageFormat format = TinyImageFormat_UNDEFINED
TextureType type = TextureType::UNDEFINED
bool isCompressed = false

DestTextureData

engine/core/modules/assets/include/nau/assets/texture_asset_accessor.h

struct DestTextureData

Public Members

void *outputBuffer = nullptr
size_t rowsCount = 0
size_t rowPitch = 0
size_t rowBytesSize = 0
size_t slicePitch = 0

ITextureAssetAccessor

engine/core/modules/assets/include/nau/assets/texture_asset_accessor.h

struct ITextureAssetAccessor : public nau::IAssetAccessor

Public Functions

virtual IAssetAccessor TextureDescription getDescription () const =0
virtual void copyTextureData(size_t mipLevelStart, size_t mipLevelsCount, eastl::span<DestTextureData> destination) = 0