Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FFloat3Packed Class Reference

#include <PackedVector.h>

Public Member Functions

 FFloat3Packed ()
 
 FFloat3Packed (const FLinearColor &Src)
 
FLinearColor ToLinearColor () const
 

Public Attributes

union { 
 
   struct { 
 
      uint32_t   xm: 6 
 
      uint32_t   xe: 5 
 
      uint32_t   ym: 6 
 
      uint32_t   ye: 5 
 
      uint32_t   zm: 5 
 
      uint32_t   ze: 5 
 
   }  
 
   uint32_t   v 
 
};  
 

Detailed Description

3 component vector corresponding to DXGI_FORMAT_R11G11B10_FLOAT. Conversion code from XMFLOAT3PK in DirectXPackedVector.h

Definition at line 15 of file PackedVector.h.

Constructor & Destructor Documentation

◆ FFloat3Packed() [1/2]

FFloat3Packed::FFloat3Packed ( )
inline

Definition at line 32 of file PackedVector.h.

◆ FFloat3Packed() [2/2]

FORCEINLINE FFloat3Packed::FFloat3Packed ( const FLinearColor & Src)
explicit

Definition at line 40 of file PackedVector.h.

Member Function Documentation

◆ ToLinearColor()

FORCEINLINE FLinearColor FFloat3Packed::ToLinearColor ( ) const

Definition at line 151 of file PackedVector.h.

Member Data Documentation

◆ [union]

union { ... } FFloat3Packed

◆ v

uint32_t FFloat3Packed::v

Definition at line 29 of file PackedVector.h.

◆ xe

uint32_t FFloat3Packed::xe

Definition at line 23 of file PackedVector.h.

◆ xm

uint32_t FFloat3Packed::xm

Definition at line 22 of file PackedVector.h.

◆ ye

uint32_t FFloat3Packed::ye

Definition at line 25 of file PackedVector.h.

◆ ym

uint32_t FFloat3Packed::ym

Definition at line 24 of file PackedVector.h.

◆ ze

uint32_t FFloat3Packed::ze

Definition at line 27 of file PackedVector.h.

◆ zm

uint32_t FFloat3Packed::zm

Definition at line 26 of file PackedVector.h.


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