FVertexFactory::AccessStreamComponent

Creates a vertex element for a vertex stream components.

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss