FVertexStreamComponent

A typed data source for a vertex factory which streams data from a vertex buffer.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "VertexFactory.h"

Syntax

struct FVertexStreamComponent

Remarks

A typed data source for a vertex factory which streams data from a vertex buffer.

Variables

Name Description

Public variable

uint8

 

Offset

The offset of the data, relative to the beginning of each element in the vertex buffer.

Public variable

uint32

 

StreamOffset

The offset to the start of the vertex buffer fetch.

Public variable

uint8

 

Stride

The stride of the data.

Public variable

TEnumAsByte< EV...

 

Type

The type of the data read from this stream.

Public variable

const FVertexBu...

 

VertexBuffer

The vertex buffer to stream data from. If null, no data can be read from this stream.

Public variable

EVertexStreamUs...

 

VertexStreamUsage

Constructors

Name Description

Public function

FVertexStreamComponent()

Initializes the data stream to null.

Public function

FVertexStreamComponent

(
    const FVertexBuffer* InVertexB...,
    uint32 InOffset,
    uint32 InStride,
    EVertexElementType InType,
    EVertexStreamUsage Usage
)

Minimal initialization constructor.

Public function

FVertexStreamComponent

(
    const FVertexBuffer* InVertexB...,
    uint32 InStreamOffset,
    uint32 InOffset,
    uint32 InStride,
    EVertexElementType InType,
    EVertexStreamUsage Usage
)

Select Skin
Light
Dark

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