|
Foundation
|
#include <Texture.hpp>
Public Attributes | |
| Vector< unsigned char > | bytes |
Public Attributes inherited from FTextureHeader | |
| uint32_t | magic {DDS_MAGIC} |
| DDS_HEADER | header {} |
| DDS_HEADER_DXT10 | header10 {} |
Additional Inherited Members | |
Static Public Member Functions inherited from FTextureHeader | |
| static uint64_t | CalculateTextureImageSize (uint32_t width, uint32_t height, uint32_t depth, uint32_t mipLevels, uint32_t blockSize, uint32_t blockDim) |
| FTexture::FTexture | ( | Allocator * | alloc | ) |
| FTexture FTexture::EncodeBC7 | ( | Allocator * | alloc = GLOBAL_ALLOC | ) | const |
Encodes the current, uncompressed R8G8B8A8 texture into BC7 format
| void FTexture::GenerateMips | ( | ) |
Generates full mipmap chain for an uncompressed R8G8B8A8 texture
| Span< unsigned char > FTexture::GetSubresource | ( | uint32_t | mipLevel = 0, |
| uint32_t | arrayLayer = 0 |
||
| ) | const |
| void FTexture::Initialize | ( | RHIResourceFormat | format, |
| RHITextureDimension | dimension, | ||
| uint32_t | width, | ||
| uint32_t | height = 1, |
||
| uint32_t | depth = 1, |
||
| uint32_t | mipCount = 1, |
||
| uint32_t | layerCount = 1 |
||
| ) |
|
inline |
|
inline |