| FDynamicRHI::RHICalcTextureCubePlatformSize()
|
Module |
|
Header |
/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h |
Include |
#include "OpenGLDrv.h" |
Source |
/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLTexture.cpp |
virtual uint64 RHICalcTextureCubePlatformSize
(
uint32 Size,
uint8 Format,
uint32 NumMips,
ETextureCreateFlags Flags,
const FRHIResourceCreateInfo & CreateInfo,
uint32 & OutAlign
)
Computes the total size of a cube texture with the specified parameters.
Parameter |
Description |
---|---|
Size |
width/height of the texture to create |
Format |
EPixelFormat texture format |
NumMips |
number of mips to generate or 0 for full mip pyramid |
Flags |
ETextureCreateFlags creation flags |
OutAlign |
Alignment required for this texture. Output parameter. |