XII Release 0.1.0
Loading...
Searching...
No Matches
xiiParticleAttributeFormat Struct Reference

Attribute data format used by particle graph pins and GPU attribute streams. More...

#include <ParticleGraph.h>

Inheritance diagram for xiiParticleAttributeFormat:
[legend]

Public Types

enum  Enum : StorageType {
  Float = 0U , Float2 , Float3 , Float4 ,
  UInt , UInt2 , UInt4 , Int ,
  Int2 , Int4 , ENUM_COUNT , Default = Float4
}
using StorageType = xiiUInt8

Detailed Description

Attribute data format used by particle graph pins and GPU attribute streams.

Member Enumeration Documentation

◆ Enum

Enumerator
Float 

32-bit float, or 16-bit normalized (for vertex attributes).

Float2 

2-component vector of 32-bit floats, or 16-bit normalized (for vertex attributes).

Float3 

3-component vector of 32-bit floats, or 16-bit normalized (for vertex attributes).

Float4 

4-component vector of 32-bit floats, or 16-bit normalized (for vertex attributes).

UInt 

32-bit unsigned integer.

UInt2 

2-component vector of 32-bit unsigned integers.

UInt4 

4-component vector of 32-bit unsigned integers. Note that 3-component uint attributes are not natively supported by GPU APIs and should use UInt4 with the unused component set to zero.

Int 

32-bit signed integer.

Int2 

2-component vector of 32-bit signed integers.

Int4 

4-component vector of 32-bit signed integers. Note that 3-component int attributes are not natively supported by GPU APIs and should use Int4 with the unused component set to zero.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Particles/ParticleGraph.h