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
)

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