Classes | Namespaces | Macros | Enumerations | Functions | Variables
RuntimeMeshCore.h File Reference
#include "Engine/Engine.h"
#include "Components/MeshComponent.h"
#include "Runtime/Launch/Resources/Version.h"
#include "Stats/Stats.h"
#include "HAL/CriticalSection.h"
#include "RuntimeMeshCore.generated.h"
Include dependency graph for RuntimeMeshCore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FRuntimeMeshVertexTraits< T >::ChT< C, C >
 
struct  FRuntimeMeshVertexTraits< T >::DerivedColor
 
struct  FRuntimeMeshVertexTraits< T >::DerivedNormal
 
struct  FRuntimeMeshVertexTraits< T >::DerivedPosition
 
struct  FRuntimeMeshVertexTraits< T >::DerivedTangent
 
struct  FRuntimeMeshVertexTraits< T >::DerivedUV0
 
struct  FRuntimeMeshVertexTraits< T >::DerivedUV1
 
struct  FRuntimeMeshVertexTraits< T >::DerivedUV2
 
struct  FRuntimeMeshVertexTraits< T >::DerivedUV3
 
struct  FRuntimeMeshVertexTraits< T >::DerivedUV4
 
struct  FRuntimeMeshVertexTraits< T >::DerivedUV5
 
struct  FRuntimeMeshVertexTraits< T >::DerivedUV6
 
struct  FRuntimeMeshVertexTraits< T >::DerivedUV7
 
struct  FRuntimeMeshVertexTraits< T >::FallbackColor
 
struct  FRuntimeMeshVertexTraits< T >::FallbackNormal
 
struct  FRuntimeMeshVertexTraits< T >::FallbackPosition
 
struct  FRuntimeMeshVertexTraits< T >::FallbackTangent
 
struct  FRuntimeMeshVertexTraits< T >::FallbackUV0
 
struct  FRuntimeMeshVertexTraits< T >::FallbackUV1
 
struct  FRuntimeMeshVertexTraits< T >::FallbackUV2
 
struct  FRuntimeMeshVertexTraits< T >::FallbackUV3
 
struct  FRuntimeMeshVertexTraits< T >::FallbackUV4
 
struct  FRuntimeMeshVertexTraits< T >::FallbackUV5
 
struct  FRuntimeMeshVertexTraits< T >::FallbackUV6
 
struct  FRuntimeMeshVertexTraits< T >::FallbackUV7
 
struct  FRuntimeMeshIndexTraits< T >
 
struct  FRuntimeMeshIndexTraits< int32 >
 
struct  FRuntimeMeshIndexTraits< uint16 >
 
struct  FRuntimeMeshIndexTraits< uint32 >
 
struct  FRuntimeMeshLockProvider
 
struct  FRuntimeMeshMutexLockProvider
 
struct  FRuntimeMeshNullLockProvider
 
struct  FRuntimeMeshNullVertex
 
class  FRuntimeMeshScopeLock
 
struct  FRuntimeMeshTangent
 
struct  FRuntimeMeshVertexStreamStructure
 
struct  FRuntimeMeshVertexStreamStructureElement
 
struct  FRuntimeMeshVertexTraits< T >
 
struct  FRuntimeMeshVertexTypeTraitsAggregator
 
struct  FRuntimeMeshVertexTraits< T >::IsSameType< A, B >
 
struct  FRuntimeMeshVertexTraits< T >::IsSameType< A, A >
 
struct  FRuntimeMeshVertexTraits< T >::TangentBasisHighPrecisionDetector< HasNormal, HasTangent, Type >
 
struct  FRuntimeMeshVertexTraits< T >::TangentBasisHighPrecisionDetector< HasNormal, true, Type >
 
struct  FRuntimeMeshVertexTraits< T >::TangentBasisHighPrecisionDetector< true, false, Type >
 
struct  FRuntimeMeshVertexTraits< T >::UVChannelHighPrecisionDetector< HasUV0, Type >
 
struct  FRuntimeMeshVertexTraits< T >::UVChannelHighPrecisionDetector< true, Type >
 

Namespaces

 FRuntimeMeshVersion
 

Macros

#define RUNTIMEMESH_ENABLE_DEBUG_RENDERING   (!(UE_BUILD_SHIPPING || UE_BUILD_TEST) || WITH_EDITOR)
 
#define RUNTIMEMESH_MAXTEXCOORDS   MAX_TEXCOORDS
 
#define RUNTIMEMESH_VERTEXSTREAMCOMPONENT(VertexType, Member, MemberType)   FRuntimeMeshVertexStreamStructureElement(STRUCT_OFFSET(VertexType,Member),sizeof(VertexType),MemberType)
 

Enumerations

enum  ERuntimeMeshBuffersToUpdate : uint8 {
  ERuntimeMeshBuffersToUpdate::None = 0x0, ERuntimeMeshBuffersToUpdate::PositionBuffer = 0x1, ERuntimeMeshBuffersToUpdate::TangentBuffer = 0x2, ERuntimeMeshBuffersToUpdate::UVBuffer = 0x4,
  ERuntimeMeshBuffersToUpdate::ColorBuffer = 0x8, ERuntimeMeshBuffersToUpdate::AllVertexBuffers = PositionBuffer | TangentBuffer | UVBuffer | ColorBuffer, ERuntimeMeshBuffersToUpdate::IndexBuffer = 0x10, ERuntimeMeshBuffersToUpdate::AdjacencyIndexBuffer = 0x20
}
 
enum  ERuntimeMeshCollisionCookingMode : uint8 { ERuntimeMeshCollisionCookingMode::UMETA =(DisplayName = "Collision Performance"), ERuntimeMeshCollisionCookingMode::UMETA =(DisplayName = "Cooking Performance") }
 
enum  ERuntimeMeshMobility : uint8 { ERuntimeMeshMobility::Movable, ERuntimeMeshMobility::Stationary, ERuntimeMeshMobility::Static }
 
enum  ESectionUpdateFlags { ESectionUpdateFlags::None = 0x0, ESectionUpdateFlags::CalculateNormalTangent = 0x2, ESectionUpdateFlags::CalculateNormalTangentHard = 0x4, ESectionUpdateFlags::CalculateTessellationIndices = 0x8 }
 
enum  EUpdateFrequency : uint8 { EUpdateFrequency::UMETA =(DisplayName = "Average"), EUpdateFrequency::UMETA =(DisplayName = "Frequent"), EUpdateFrequency::UMETA =(DisplayName = "Infrequent") }
 
enum  FRuntimeMeshVersion::Type {
  FRuntimeMeshVersion::Initial = 0, FRuntimeMeshVersion::TemplatedVertexFix = 1, FRuntimeMeshVersion::SerializationOptional = 2, FRuntimeMeshVersion::DualVertexBuffer = 3,
  FRuntimeMeshVersion::SerializationV2 = 4, FRuntimeMeshVersion::RuntimeMeshComponentV3 = 5, FRuntimeMeshVersion::RuntimeMeshComponentUE4_19 = 6, FRuntimeMeshVersion::SerializationUpgradeToConfigurable = 7,
  FRuntimeMeshVersion::VersionPlusOne, FRuntimeMeshVersion::LatestVersion = VersionPlusOne - 1
}
 

Functions

 DECLARE_STATS_GROUP (TEXT("RuntimeMesh"), STATGROUP_RuntimeMesh, STATCAT_Advanced)
 
 ENUM_CLASS_FLAGS (ERuntimeMeshBuffersToUpdate)
 
template<typename VertexType >
FRuntimeMeshVertexStreamStructure GetStreamStructure ()
 
template<>
FRuntimeMeshVertexStreamStructure GetStreamStructure< FColor > ()
 
template<>
FRuntimeMeshVertexStreamStructure GetStreamStructure< FVector > ()
 

Variables

static const FGuid FRuntimeMeshVersion::GUID = FGuid(0xEE48714B, 0x8A2C4652, 0x98BE40E6, 0xCB7EF0E6)
 

Macro Definition Documentation

#define RUNTIMEMESH_ENABLE_DEBUG_RENDERING   (!(UE_BUILD_SHIPPING || UE_BUILD_TEST) || WITH_EDITOR)

Definition at line 17 of file RuntimeMeshCore.h.

#define RUNTIMEMESH_MAXTEXCOORDS   MAX_TEXCOORDS

Definition at line 15 of file RuntimeMeshCore.h.

#define RUNTIMEMESH_VERTEXSTREAMCOMPONENT (   VertexType,
  Member,
  MemberType 
)    FRuntimeMeshVertexStreamStructureElement(STRUCT_OFFSET(VertexType,Member),sizeof(VertexType),MemberType)

Definition at line 256 of file RuntimeMeshCore.h.

Enumeration Type Documentation

enum ERuntimeMeshBuffersToUpdate : uint8
strong
Enumerator
None 
PositionBuffer 
TangentBuffer 
UVBuffer 
ColorBuffer 
AllVertexBuffers 
IndexBuffer 
AdjacencyIndexBuffer 

Definition at line 80 of file RuntimeMeshCore.h.

enum ERuntimeMeshCollisionCookingMode : uint8
strong
Enumerator
UMETA 
UMETA 

Definition at line 156 of file RuntimeMeshCore.h.

enum ERuntimeMeshMobility : uint8
strong
Enumerator
Movable 
Stationary 
Static 

Definition at line 97 of file RuntimeMeshCore.h.

enum ESectionUpdateFlags
strong
Enumerator
None 
CalculateNormalTangent 

This will use move-assignment when copying the supplied vertices/triangles into the section. This is faster as it doesn't require copying the data.

CAUTION: This means that your copy of the arrays will be cleared! Should the normals and tangents be calculated automatically? To do this manually see RuntimeMeshLibrary::CalculateTangentsForMesh() This version calculates smooth tangents, so it will smooth across vertices sharing position

CalculateNormalTangentHard 

Should the normals and tangents be calculated automatically? To do this manually see RuntimeMeshLibrary::CalculateTangentsForMesh() This version calculates hard tangents, so it will not smooth across vertices sharing position

CalculateTessellationIndices 

Should the tessellation indices be calculated to support tessellation? To do this manually see RuntimeMeshLibrary::GenerateTessellationIndexBuffer()

Definition at line 117 of file RuntimeMeshCore.h.

enum EUpdateFrequency : uint8
strong
Enumerator
UMETA 
UMETA 
UMETA 

Definition at line 106 of file RuntimeMeshCore.h.

Function Documentation

DECLARE_STATS_GROUP ( TEXT("RuntimeMesh")  ,
STATGROUP_RuntimeMesh  ,
STATCAT_Advanced   
)
ENUM_CLASS_FLAGS ( ERuntimeMeshBuffersToUpdate  )
template<typename VertexType >
FRuntimeMeshVertexStreamStructure GetStreamStructure ( )
inline

Definition at line 305 of file RuntimeMeshCore.h.

template<>
FRuntimeMeshVertexStreamStructure GetStreamStructure< FColor > ( )
inline

Definition at line 319 of file RuntimeMeshCore.h.

template<>
FRuntimeMeshVertexStreamStructure GetStreamStructure< FVector > ( )
inline

Definition at line 311 of file RuntimeMeshCore.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:29