XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALShaderUtilities Class Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <ShaderUtils.h>

Static Public Member Functions

static XII_ALWAYS_INLINE xiiUInt32 Float3ToRGB10 (xiiVec3 value)
 Converts a 3-component 32-bit vector into the RGB10 format.
static XII_ALWAYS_INLINE xiiUInt32 PackFloat16intoUint (xiiFloat16 x, xiiFloat16 y)
 Packs 2 16-bit floats into a 32-bit unsigned integer.
static XII_ALWAYS_INLINE xiiUInt32 Float2ToRG16F (xiiVec2 value)
 Converts a 2 component 32-bit vector into a 32-bit unsigned integer.
static XII_ALWAYS_INLINE void Float4ToRGBA16F (xiiVec4 value, xiiUInt32 &out_uiRG, xiiUInt32 &out_uiBA)
 Converts a 32-bit 4 component vector into a 4 compponent 16-bit values stored in 2 32-bit unsigned integers.

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

Provides shader utilities through static methods.


The documentation for this class was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Shader/ShaderUtils.h