Provides shader utilities through static methods.
More...
#include <ShaderUtils.h>
|
enum class | xiiBuiltinShaderType { CopyImage
, CopyImageArray
, DownscaleImage
, DownscaleImageArray
} |
|
|
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.
|
|
static XII_ALWAYS_INLINE void | RequestBuiltinShader (xiiBuiltinShaderType type, xiiBuiltinShader &out_Shader) |
|
Provides shader utilities through static methods.
The documentation for this class was generated from the following files:
- /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Shader/ShaderUtils.h
- /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Shader/Implementation/Shader.cpp