Navigation
API > API/Developer > API/Developer/TextureBuildUtilities
References
| Module | TextureBuildUtilities |
| Header | /Engine/Source/Developer/TextureBuildUtilities/Public/TextureBuildUtilities.h |
| Include | #include "TextureBuildUtilities.h" |
Syntax
struct FVirtualTextureSourceBlockInfo
Remarks
Mirrors Texture.h FTextureSourceBlock for use without Texture.h
This provides the layout representation of a block of source pixels for a virtual texture. The format is separate as VTs can have multiple layers, each with the same source pixel layout but with a different format (and thus byte size).
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | BlockX | @ I don't actually know what coordinate space blocks are in and none of the code I'm looking at seems very clear on it. | |
| int32 | BlockY | ||
| int32 | NumMips | ||
| int32 | NumSlices | Afaict this is ignored: see "BlockData.NumSlices = 1; // TODO?" in VirtualTextureDataBuilder | |
| int32 | SizeX | Pixel dims. | |
| int32 | SizeY |