FVertexFactory::AccessStreamComponent

Creates a vertex element for a vertex stream component.

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,
    EVertexInputStreamType InputStreamType
)

Remarks

Creates a vertex element for a vertex stream component. Adds a unique position 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.

Usage

The vertex element usage semantics.

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