Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Rendering/NaniteResources.h |
| Include | #include "Rendering/NaniteResources.h" |
Syntax
struct FPackedCluster
Remarks
Packed Cluster as it is used by the GPU.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | AttributeOffset_BitsPerAttribute | Members needed by materials. | |
| uint32 | BitsPerIndex_PosPrecision_PosBits_NormalPrecision_TangentPrecision | ||
| FVector3f | BoxBoundsCenter | ||
| FVector3f | BoxBoundsExtent | ||
| uint32 | ColorBits_GroupIndex | ||
| uint32 | ColorMin | ||
| uint32 | DecodeInfoOffset_HasTangents_NumUVs_ColorMode | ||
| uint32 | Flags | ||
| FVector4f | LODBounds | Members needed for culling. | |
| uint32 | LODErrorAndEdgeLength | ||
| uint32 | NumTris_IndexOffset | ||
| uint32 | NumVerts_PositionOffset | Members needed for rasterization. | |
| uint32 | PackedMaterialInfo | ||
| FIntVector | PosStart | ||
| uint32 | UV_Prec | ||
| uint32[4] | VertReuseBatchInfo |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | GetNumTris () |
||
| uint32 | GetNumVerts () |
||
| uint32 | GetPosBitsX () |
||
| uint32 | GetPosBitsY () |
||
| uint32 | GetPosBitsZ () |
||
| uint32 | |||
| int32 | |||
| uint32 | |||
| void | SetAttributeOffset
(
uint32 Offset |
||
| void | SetBitsPerAttribute
(
uint32 Bits |
||
| void | SetBitsPerIndex
(
uint32 BitsPerIndex |
||
| void | SetColorBitsA
(
uint32 NumBits |
||
| void | SetColorBitsB
(
uint32 NumBits |
||
| void | SetColorBitsG
(
uint32 NumBits |
||
| void | SetColorBitsR
(
uint32 NumBits |
||
| void | SetColorMode
(
uint32 Mode |
||
| void | SetDecodeInfoOffset
(
uint32 Offset |
||
| void | SetGroupIndex
(
uint32 GroupIndex |
||
| void | SetHasTangents
(
bool bHasTangents |
||
| void | SetIndexOffset
(
uint32 Offset |
||
| void | SetNormalPrecision
(
uint32 NumBits |
||
| void | SetNumTris
(
uint32 NumTris |
||
| void | SetNumUVs
(
uint32 Num |
||
| void | SetNumVerts
(
uint32 NumVerts |
||
| void | SetPosBitsX
(
uint32 NumBits |
||
| void | SetPosBitsY
(
uint32 NumBits |
||
| void | SetPosBitsZ
(
uint32 NumBits |
||
| void | SetPositionOffset
(
uint32 Offset |
||
| void | SetPosPrecision
(
int32 Precision |
||
| void | SetTangentPrecision
(
uint32 NumBits |
||
| void | SetVertResourceBatchInfo
(
TArray< uint32 >& BatchInfo, |