FVertexElement

Windows
MacOS
Linux

Syntax

struct FVertexElement

Variables

Name Description

Public variable

uint8

 

AttributeIndex

Public variable

uint16

 

bUseInstanceIndex

Whether to use instance index or vertex index to consume the element.

Public variable

uint8

 

Offset

Public variable

uint8

 

StreamIndex

Public variable

uint16

 

Stride

Public variable

TEnumAsByte< EV...

 

Type

Constructors

Name Description

Public function

FVertexElement()

Public function

FVertexElement

(
    uint8 InStreamIndex,
    uint8 InOffset,
    EVertexElementType InType,
    uint8 InAttributeIndex,
    uint16 InStride,
    bool bInUseInstanceIndex
)

Functions

Name Description

Public function

void

 

FromString

(
    const FString& Src
)

Public function Const

FString

 

ToString()

Operators

Name Description

Public function

void

 

operator=

(
    const FVertexElement& Other
)

Suppress the compiler generated assignment operator so that padding won't be copied.

References

Module

RHI

Header

Runtime/RHI/Public/RHI.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback