CPU Types

CPU side type defines for all commonly used variables.

Typedefs

Type

Description

typedef bool

A typedef for a boolean value.

typedef uint8_t

A typedef for a unsigned 8bit integer.

typedef uint16_t

A typedef for a unsigned 16bit integer.

typedef uint32_t

A typedef for a unsigned 32bit integer.

typedef uint64_t

A typedef for a unsigned 64bit integer.

typedef int8_t

A typedef for a signed 8bit integer.

typedef int16_t

A typedef for a signed 16bit integer.

typedef int32_t

A typedef for a signed 32bit integer.

typedef int64_t

A typedef for a signed 64bit integer.

typedef float

A typedef for a floating point value.

typedef float

A typedef for a 2-dimensional floating point value.

typedef float

A typedef for a 3-dimensional floating point value.

typedef float

A typedef for a 4-dimensional floating point value.

typedef float

A typedef for a 2×2 floating point matrix.

typedef float

A typedef for a 3×3 floating point matrix.

typedef float

A typedef for a 3×4 floating point matrix.

typedef float

A typedef for a 4×4 floating point matrix.

typedef int32_t

A typedef for a 2-dimensional 32bit signed integer.

typedef int32_t

A typedef for a 3-dimensional 32bit signed integer.

typedef int32_t

A typedef for a 4-dimensional 32bit signed integer.

typedef uint32_t

A typedef for a 2-dimensional 32bit usigned integer.

typedef uint32_t

A typedef for a 3-dimensional 32bit unsigned integer.

typedef uint32_t

A typedef for a 4-dimensional 32bit unsigned integer.

typedef uint32_t

A typedef for version numbers returned from functions in the FidelityFX SDK.

Macros

Name

Description

FFX_FALSE (0)

A define for a false value in a boolean expression.

FFX_STATIC static

A define to abstract declaration of static variables and functions.

FFX_TRUE (1)

A define for a true value in a boolean expression.

Detailed description

CPU side type defines for all commonly used variables.

Typedefs

FfxBoolean

Copied!

typedef bool FfxBoolean

A typedef for a boolean value.


FfxUInt8

Copied!

typedef uint8_t FfxUInt8

A typedef for a unsigned 8bit integer.


FfxUInt16

Copied!

typedef uint16_t FfxUInt16

A typedef for a unsigned 16bit integer.


FfxUInt32

Copied!

typedef uint32_t FfxUInt32

A typedef for a unsigned 32bit integer.


FfxUInt64

Copied!

typedef uint64_t FfxUInt64

A typedef for a unsigned 64bit integer.


FfxInt8

Copied!

typedef int8_t FfxInt8

A typedef for a signed 8bit integer.


FfxInt16

Copied!

typedef int16_t FfxInt16

A typedef for a signed 16bit integer.


FfxInt32

Copied!

typedef int32_t FfxInt32

A typedef for a signed 32bit integer.


FfxInt64

Copied!

typedef int64_t FfxInt64

A typedef for a signed 64bit integer.


FfxFloat32

Copied!

typedef float FfxFloat32

A typedef for a floating point value.


FfxFloat32x2

Copied!

typedef float FfxFloat32x2 [2]

A typedef for a 2-dimensional floating point value.


FfxFloat32x3

Copied!

typedef float FfxFloat32x3 [3]

A typedef for a 3-dimensional floating point value.


FfxFloat32x4

Copied!

typedef float FfxFloat32x4 [4]

A typedef for a 4-dimensional floating point value.


FfxFloat32x2x2

Copied!

typedef float FfxFloat32x2x2 [4]

A typedef for a 2×2 floating point matrix.


FfxFloat32x3x3

Copied!

typedef float FfxFloat32x3x3 [9]

A typedef for a 3×3 floating point matrix.


FfxFloat32x3x4

Copied!

typedef float FfxFloat32x3x4 [12]

A typedef for a 3×4 floating point matrix.


FfxFloat32x4x4

Copied!

typedef float FfxFloat32x4x4 [16]

A typedef for a 4×4 floating point matrix.


FfxInt32x2

Copied!

typedef int32_t FfxInt32x2 [2]

A typedef for a 2-dimensional 32bit signed integer.


FfxInt32x3

Copied!

typedef int32_t FfxInt32x3 [3]

A typedef for a 3-dimensional 32bit signed integer.


FfxInt32x4

Copied!

typedef int32_t FfxInt32x4 [4]

A typedef for a 4-dimensional 32bit signed integer.


FfxUInt32x2

Copied!

typedef uint32_t FfxUInt32x2 [2]

A typedef for a 2-dimensional 32bit usigned integer.


FfxUInt32x3

Copied!

typedef uint32_t FfxUInt32x3 [3]

A typedef for a 3-dimensional 32bit unsigned integer.


FfxUInt32x4

Copied!

typedef uint32_t FfxUInt32x4 [4]

A typedef for a 4-dimensional 32bit unsigned integer.


FfxVersionNumber

Copied!

typedef uint32_t FfxVersionNumber

A typedef for version numbers returned from functions in the FidelityFX SDK.


Macros

FFX_FALSE

Copied!

#define FFX_FALSE (0)

A define for a false value in a boolean expression.


FFX_STATIC

Copied!

#define FFX_STATIC static

A define to abstract declaration of static variables and functions.


FFX_TRUE

Copied!

#define FFX_TRUE (1)

A define for a true value in a boolean expression.


Related pages

  • Visit the FidelityFX SDK product page for download links and more information.

Looking for more documentation on GPUOpen?

AMD GPUOpen software blogs

Our handy software release blogs will help you make good use of our tools, SDKs, and effects, as well as sharing the latest features with new releases.

GPUOpen Manuals

Don’t miss our manual documentation! And if slide decks are what you’re after, you’ll find 100+ of our finest presentations here.

AMD GPUOpen Performance Guides

The home of great performance and optimization advice for AMD RDNAâ„¢ 2 GPUs, AMD Ryzenâ„¢ CPUs, and so much more.

Getting started: AMD GPUOpen software

New or fairly new to AMD’s tools, libraries, and effects? This is the best place to get started on GPUOpen!

AMD GPUOpen Getting Started Development and Performance

Looking for tips on getting started with developing and/or optimizing your game, whether on AMD hardware or generally? We’ve got you covered!

AMD GPUOpen Technical blogs

Browse our technical blogs, and find valuable advice on developing with AMD hardware, ray tracing, Vulkan®, DirectX®, Unreal Engine, and lots more.

Find out more about our software!

AMD GPUOpen Effects - AMD FidelityFX technologies

Create wonder. No black boxes. Meet the AMD FidelityFX SDK!

AMD GPUOpen Samples

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

AMD GPUOpen developer SDKs

Discover what our SDK technologies can offer you. Query hardware or software, manage memory, create rendering applications or machine learning, and much more!

AMD GPUOpen Developer Tools

Analyze, Optimize, Profile, Benchmark. We provide you with the developer tools you need to make sure your game is the best it can be!