UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LumenHeightfields.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "LumenMeshCards.h"
7
18
20{
21 // Must match LUMEN_HEIGHTFIELD_DATA_STRIDE in LumenCardCommon.ush
22 enum { DataStrideInFloat4s = 3 };
24
25 static void FillData(const class FLumenHeightfield& RESTRICT Heightfield, const TSparseSpanArray<FLumenMeshCards>& MeshCards, FVector4f* RESTRICT OutData);
26};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
#define RESTRICT
Definition Platform.h:706
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition LumenHeightfields.h:9
int32 MeshCardsIndex
Definition LumenHeightfields.h:11
void Initialize(int32 InMeshCardsIndex)
Definition LumenHeightfields.h:13
Definition LumenSparseSpanArray.h:16
Definition LumenHeightfields.h:20
@ DataStrideInFloat4s
Definition LumenHeightfields.h:22
static void FillData(const class FLumenHeightfield &RESTRICT Heightfield, const TSparseSpanArray< FLumenMeshCards > &MeshCards, FVector4f *RESTRICT OutData)
Definition LumenHeightfields.cpp:52
@ DataStrideInBytes
Definition LumenHeightfields.h:23