FVertexFactory::AccessStreamComponent

Creates a vertex element for a vertex stream components.

Choose your operating system:

Windows

macOS

Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/VertexFactory.h

Include

#include "VertexFactory.h"

Source

/Engine/Source/Runtime/RenderCore/Private/VertexFactory.cpp

Syntax

FVertexElement AccessStreamComponent
(
    const FVertexStreamComponent & Component,
    uint8 AttributeIndex
)

Remarks

Creates a vertex element for a vertex stream components. Adds a unique stream index for the vertex buffer used by the component.

Returns

The vertex element which corresponds to Component.

Parameters

Parameter

Description

Component

The vertex stream component.

AttributeIndex

The attribute index to which the stream component is bound.