Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Rendering
Inheritance Hierarchy
- FRenderResource
- FVertexBuffer
- FPositionVertexBuffer
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Rendering/PositionVertexBuffer.h |
Include | #include "Rendering/PositionVertexBuffer.h" |
Syntax
class FPositionVertexBuffer : public FVertexBuffer
Remarks
A vertex buffer of positions.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | AppendVertices
(
const FStaticMeshBuildVertex* Vertices, |
Appends the specified vertices to the end of the buffer |
![]() ![]() |
void | BindPositionVertexBuffer
(
const FVertexFactory* VertexFactory, |
|
![]() |
void | CleanUp () |
Delete existing resources |
![]() |
void | ||
![]() |
FBufferRHIRef | ||
![]() |
FBufferRHIRef | Create an RHI vertex buffer with CPU data. | |
![]() ![]() |
SIZE_T | ||
![]() ![]() |
bool | ||
![]() ![]() |
uint32 | ||
![]() ![]() |
FRHIShaderResourceView * | GetSRV () |
|
![]() ![]() |
uint32 | GetStride () |
Other accessors. |
![]() ![]() |
const void * | ||
![]() |
void * | ||
![]() |
void | ||
![]() |
void | Init
(
const FPositionVertexBuffer& InVertexBuffer, |
Initializes this vertex buffer with the contents of the given vertex buffer. |
![]() |
void | Init
(
const FConstMeshBuildVertexView& InVertices, |
|
![]() |
void | Init
(
const TArray< FStaticMeshBuildVertex >& InVertices, |
Initializes the buffer with the given vertices, used to convert legacy layouts. |
![]() |
void | Init
(
uint32 NumVertices, |
|
![]() |
void | InitRHIForStreaming
(
FRHIBuffer* IntermediateBuffer, |
Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid |
![]() |
void | ReleaseRHIForStreaming
(
FRHIResourceUpdateBatcher& Batcher |
|
![]() |
void | Serializer | |
![]() |
void | SerializeMetaData
(
FArchive& Ar |
|
![]() |
FVector3f & | VertexPosition
(
uint32 VertexIndex |
Vertex data accessors. |
![]() ![]() |
const FVector3f & | VertexPosition
(
uint32 VertexIndex |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | ||
![]() ![]() |
void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. |
![]() ![]() |
void | ReleaseRHI () |
Releases the RHI resources used by this resource. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
void | operator=
(
const FPositionVertexBuffer& Other |
Specialized assignment operator, only used when importing LOD's. |