Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::PrecompInputFace

A face (triangle) in EnlightenPrecomp input geometry.

This references other vertices and materials in the IPrecompInputMesh class.

Variables

NameDescription
const Geo::u8 faceTypeNormal = 0

Enum values for m_FaceType.

const Geo::u8 faceTypeSmoothBevel = 1

Enum values for m_FaceType.

Geo::u64 m_AlbedoId

An ID which assigns this PrecompInputFace to a face group.

Geo::u8 m_FaceType

A type of the face.

PrecompIndex3 m_Indices

Vertex indices for the face.

Geo::ZeroedPadding< 1 > m_Padding

unused padding

Functions

NameDescription
PrecompInputFace()

Creates an empty PrecompInputFace.

PrecompInputFace(Geo::s32, Geo::s32, Geo::s32, Geo::u64)

Creates a PrecompInputFace with existing vertex indices and albedo ID.

PrecompInputFace(Geo::s32, Geo::s32, Geo::s32, Geo::u64, Geo::s16, Geo::u8)

Creates a PrecompInputFace with existing vertex indices, albedo ID and chart tag and face type.


Anchor
a1992e7cfab4af87508abf22c8049ab56
a1992e7cfab4af87508abf22c8049ab56

Enlighten::PrecompInputFace::PrecompInputFace

...

public: PrecompInputFace()

...

Creates an empty PrecompInputFace.


Anchor
a2e3e0d26b3d315a4f90d0dd0c4b3a5f3
a2e3e0d26b3d315a4f90d0dd0c4b3a5f3

Enlighten::PrecompInputFace::PrecompInputFace

...

public: PrecompInputFace
(
    Geo::s32 index0,
    Geo::s32 index1,
    Geo::s32 index2,
    Geo::u64 albedoId
)

...

Creates a PrecompInputFace with existing vertex indices and albedo ID.


Anchor
ac25f396a0b0d1c07bfaba99075202ca2
ac25f396a0b0d1c07bfaba99075202ca2

Enlighten::PrecompInputFace::PrecompInputFace

...

public: PrecompInputFace
(
    Geo::s32 index0,
    Geo::s32 index1,
    Geo::s32 index2,
    Geo::u64 albedoId,
    Geo::s16 chartTag,
    Geo::u8 faceType
)

...

Creates a PrecompInputFace with existing vertex indices, albedo ID and chart tag and face type.