Classes | Static Public Attributes | Static Private Member Functions | List of all members
FRuntimeMeshVertexTraits< T > Struct Template Reference

#include <RuntimeMeshCore.h>

Classes

struct  ChT
 
struct  DerivedColor
 
struct  DerivedNormal
 
struct  DerivedPosition
 
struct  DerivedTangent
 
struct  DerivedUV0
 
struct  DerivedUV1
 
struct  DerivedUV2
 
struct  DerivedUV3
 
struct  DerivedUV4
 
struct  DerivedUV5
 
struct  DerivedUV6
 
struct  DerivedUV7
 
struct  FallbackColor
 
struct  FallbackNormal
 
struct  FallbackPosition
 
struct  FallbackTangent
 
struct  FallbackUV0
 
struct  FallbackUV1
 
struct  FallbackUV2
 
struct  FallbackUV3
 
struct  FallbackUV4
 
struct  FallbackUV5
 
struct  FallbackUV6
 
struct  FallbackUV7
 
struct  IsSameType
 
struct  IsSameType< A, A >
 
struct  TangentBasisHighPrecisionDetector
 
struct  TangentBasisHighPrecisionDetector< HasNormal, true, Type >
 
struct  TangentBasisHighPrecisionDetector< true, false, Type >
 
struct  UVChannelHighPrecisionDetector
 
struct  UVChannelHighPrecisionDetector< true, Type >
 

Static Public Attributes

static const bool HasColor = sizeof(ColorCheck<DerivedColor>(0)) == 2
 
static const bool HasHighPrecisionNormals = TangentBasisHighPrecisionDetector<HasNormal, HasTangent, T>::Value
 
static const bool HasHighPrecisionUVs = UVChannelHighPrecisionDetector<HasUV0, T>::Value
 
static const bool HasNormal = sizeof(NormalCheck<DerivedNormal>(0)) == 2
 
static const bool HasPosition = sizeof(PositionCheck<DerivedPosition>(0)) == 2
 
static const bool HasTangent = sizeof(TangentCheck<DerivedTangent>(0)) == 2
 
static const bool HasUV0 = sizeof(UV0Check<DerivedUV0>(0)) == 2
 
static const bool HasUV1 = sizeof(UV1Check<DerivedUV1>(0)) == 2
 
static const bool HasUV2 = sizeof(UV2Check<DerivedUV2>(0)) == 2
 
static const bool HasUV3 = sizeof(UV3Check<DerivedUV3>(0)) == 2
 
static const bool HasUV4 = sizeof(UV4Check<DerivedUV4>(0)) == 2
 
static const bool HasUV5 = sizeof(UV5Check<DerivedUV5>(0)) == 2
 
static const bool HasUV6 = sizeof(UV6Check<DerivedUV6>(0)) == 2
 
static const bool HasUV7 = sizeof(UV7Check<DerivedUV7>(0)) == 2
 
static const int32 NumUVChannels
 

Static Private Member Functions

template<typename C >
static char(& ColorCheck (ChT< FColor FallbackColor::*,&C::Color > *))[1]
 
template<typename C >
static char(& ColorCheck (...))[2]
 
template<typename C >
static char(& NormalCheck (ChT< FPackedRGBA16N FallbackNormal::*,&C::Normal > *))[1]
 
template<typename C >
static char(& NormalCheck (...))[2]
 
template<typename C >
static char(& PositionCheck (ChT< FVector FallbackPosition::*,&C::Position > *))[1]
 
template<typename C >
static char(& PositionCheck (...))[2]
 
template<typename C >
static char(& TangentCheck (ChT< FPackedRGBA16N FallbackTangent::*,&C::Tangent > *))[1]
 
template<typename C >
static char(& TangentCheck (...))[2]
 
template<typename C >
static char(& UV0Check (ChT< FVector2D FallbackUV0::*,&C::UV0 > *))[1]
 
template<typename C >
static char(& UV0Check (...))[2]
 
template<typename C >
static char(& UV1Check (ChT< FVector2D FallbackUV1::*,&C::UV1 > *))[1]
 
template<typename C >
static char(& UV1Check (...))[2]
 
template<typename C >
static char(& UV2Check (ChT< FVector2D FallbackUV2::*,&C::UV2 > *))[1]
 
template<typename C >
static char(& UV2Check (...))[2]
 
template<typename C >
static char(& UV3Check (ChT< FVector2D FallbackUV3::*,&C::UV3 > *))[1]
 
template<typename C >
static char(& UV3Check (...))[2]
 
template<typename C >
static char(& UV4Check (ChT< FVector2D FallbackUV4::*,&C::UV4 > *))[1]
 
template<typename C >
static char(& UV4Check (...))[2]
 
template<typename C >
static char(& UV5Check (ChT< FVector2D FallbackUV5::*,&C::UV5 > *))[1]
 
template<typename C >
static char(& UV5Check (...))[2]
 
template<typename C >
static char(& UV6Check (ChT< FVector2D FallbackUV6::*,&C::UV6 > *))[1]
 
template<typename C >
static char(& UV6Check (...))[2]
 
template<typename C >
static char(& UV7Check (ChT< FVector2D FallbackUV7::*,&C::UV7 > *))[1]
 
template<typename C >
static char(& UV7Check (...))[2]
 

Detailed Description

template<typename T>
struct FRuntimeMeshVertexTraits< T >

Definition at line 446 of file RuntimeMeshCore.h.

Member Function Documentation

template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::ColorCheck ( ChT< FColor FallbackColor::*,&C::Color > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::ColorCheck (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::NormalCheck ( ChT< FPackedRGBA16N FallbackNormal::*,&C::Normal > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::NormalCheck (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::PositionCheck ( ChT< FVector FallbackPosition::*,&C::Position > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::PositionCheck (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::TangentCheck ( ChT< FPackedRGBA16N FallbackTangent::*,&C::Tangent > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::TangentCheck (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV0Check ( ChT< FVector2D FallbackUV0::*,&C::UV0 > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV0Check (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV1Check ( ChT< FVector2D FallbackUV1::*,&C::UV1 > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV1Check (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV2Check ( ChT< FVector2D FallbackUV2::*,&C::UV2 > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV2Check (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV3Check ( ChT< FVector2D FallbackUV3::*,&C::UV3 > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV3Check (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV4Check ( ChT< FVector2D FallbackUV4::*,&C::UV4 > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV4Check (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV5Check ( ChT< FVector2D FallbackUV5::*,&C::UV5 > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV5Check (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV6Check ( ChT< FVector2D FallbackUV6::*,&C::UV6 > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV6Check (   ...) )[2]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV7Check ( ChT< FVector2D FallbackUV7::*,&C::UV7 > *  ) )[1]
staticprivate
template<typename T >
template<typename C >
static char(& FRuntimeMeshVertexTraits< T >::UV7Check (   ...) )[2]
staticprivate

Member Data Documentation

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasColor = sizeof(ColorCheck<DerivedColor>(0)) == 2
static

Definition at line 558 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasHighPrecisionNormals = TangentBasisHighPrecisionDetector<HasNormal, HasTangent, T>::Value
static

Definition at line 579 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasHighPrecisionUVs = UVChannelHighPrecisionDetector<HasUV0, T>::Value
static

Definition at line 580 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasNormal = sizeof(NormalCheck<DerivedNormal>(0)) == 2
static

Definition at line 556 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasPosition = sizeof(PositionCheck<DerivedPosition>(0)) == 2
static

Definition at line 555 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasTangent = sizeof(TangentCheck<DerivedTangent>(0)) == 2
static

Definition at line 557 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasUV0 = sizeof(UV0Check<DerivedUV0>(0)) == 2
static

Definition at line 559 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasUV1 = sizeof(UV1Check<DerivedUV1>(0)) == 2
static

Definition at line 560 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasUV2 = sizeof(UV2Check<DerivedUV2>(0)) == 2
static

Definition at line 561 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasUV3 = sizeof(UV3Check<DerivedUV3>(0)) == 2
static

Definition at line 562 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasUV4 = sizeof(UV4Check<DerivedUV4>(0)) == 2
static

Definition at line 563 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasUV5 = sizeof(UV5Check<DerivedUV5>(0)) == 2
static

Definition at line 564 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasUV6 = sizeof(UV6Check<DerivedUV6>(0)) == 2
static

Definition at line 565 of file RuntimeMeshCore.h.

template<typename T >
const bool FRuntimeMeshVertexTraits< T >::HasUV7 = sizeof(UV7Check<DerivedUV7>(0)) == 2
static

Definition at line 566 of file RuntimeMeshCore.h.

template<typename T >
const int32 FRuntimeMeshVertexTraits< T >::NumUVChannels
static
Initial value:
=
(HasUV0 ? 1 : 0) +
(HasUV1 ? 1 : 0) +
(HasUV2 ? 1 : 0) +
(HasUV3 ? 1 : 0) +
(HasUV4 ? 1 : 0) +
(HasUV5 ? 1 : 0) +
(HasUV6 ? 1 : 0) +
(HasUV7 ? 1 : 0)

Definition at line 567 of file RuntimeMeshCore.h.


The documentation for this struct was generated from the following file:


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