Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering
Inheritance Hierarchy
- FRenderResource
- FStaticMeshVertexBuffer
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
Include | #include "Rendering/StaticMeshVertexBuffer.h" |
Syntax
class FStaticMeshVertexBuffer : public FRenderResource
Remarks
Vertex buffer for a static mesh LOD
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FStaticMeshVertexBuffer::FTangentsVertexBuffer | TangentsVertexBuffer | |
![]() |
FStaticMeshVertexBuffer::FTexcoordVertexBuffer | TexCoordVertexBuffer |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AppendVertices
(
const FStaticMeshBuildVertex* Vertices, |
Appends the specified vertices to the end of the buffer |
![]() ![]() |
void | BindLightMapVertexBuffer
(
const FVertexFactory* VertexFactory, |
|
![]() ![]() |
void | BindPackedTexCoordVertexBuffer
(
const FVertexFactory* VertexFactory, |
|
![]() ![]() |
void | BindTangentVertexBuffer
(
const FVertexFactory* VertexFactory, |
|
![]() ![]() |
void | BindTexCoordVertexBuffer
(
const FVertexFactory* VertexFactory, |
|
![]() |
void | CleanUp () |
Delete existing resources |
![]() |
void | ||
![]() |
FBufferRHIRef | ||
![]() |
FBufferRHIRef | Create an RHI vertex buffer with CPU data. | |
![]() |
FBufferRHIRef | ||
![]() |
FBufferRHIRef | ||
![]() ![]() |
bool | ||
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | ||
![]() ![]() |
const void * | ||
![]() |
void * | ||
![]() ![]() |
int | ||
![]() ![]() |
FRHIShaderResourceView * | ||
![]() ![]() |
const void * | ||
![]() |
void * | ||
![]() ![]() |
int | ||
![]() ![]() |
FRHIShaderResourceView * | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
FVector2f | GetVertexUV
(
uint32 VertexIndex, |
Set the vertex UV values at the given index in the vertex buffer |
![]() ![]() |
FVector2f | GetVertexUV_Typed
(
uint32 VertexIndex, |
|
![]() |
void | Init
(
uint32 InNumVertices, |
|
![]() |
void | Init
(
const FStaticMeshVertexBuffer& InVertexBuffer, |
Initializes this vertex buffer with the contents of the given vertex buffer. |
![]() |
void | Init
(
const FConstMeshBuildVertexView& InVertices, |
Initializes the buffer with the given vertices. |
![]() |
void | Init
(
const FConstMeshBuildVertexView& InVertices, |
Initializes the buffer with the given vertex view. |
![]() |
void | Init
(
const TArray< FStaticMeshBuildVertex >& InVertices, |
|
![]() |
void | Init
(
const TArray< FStaticMeshBuildVertex >& InVertices, |
Initializes the buffer with the given vertices. Initializes the buffer with the given vertices. |
![]() |
void | InitRHIForStreaming
(
FRHIBuffer* IntermediateTangentsBuffer, |
Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid |
![]() |
bool | IsValid () |
|
![]() |
void | ReleaseRHIForStreaming
(
FRHIResourceUpdateBatcher& Batcher |
|
![]() |
void | Serializer | |
![]() |
void | SerializeMetaData
(
FArchive& Ar |
|
![]() |
void | SetUseFullPrecisionUVs
(
bool UseFull |
|
![]() |
void | SetUseHighPrecisionTangentBasis
(
bool bUseHighPrecision |
|
![]() |
void | SetVertexTangents
(
uint32 VertexIndex, |
|
![]() |
void | SetVertexUV
(
uint32 VertexIndex, |
Set the vertex UV values at the given index in the vertex buffer |
![]() ![]() |
FVector4f | VertexTangentX
(
uint32 VertexIndex |
|
![]() ![]() |
FVector4f | VertexTangentX_Typed
(
uint32 VertexIndex |
|
![]() ![]() |
FVector3f | VertexTangentY
(
uint32 VertexIndex |
Calculate the binormal (TangentY) vector using the normal,tangent vectors |
![]() ![]() |
FVector4f | VertexTangentY_Typed
(
uint32 VertexIndex |
|
![]() ![]() |
FVector4f | VertexTangentZ
(
uint32 VertexIndex |
|
![]() ![]() |
FVector4f | VertexTangentZ_Typed
(
uint32 VertexIndex |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | ||
![]() ![]() |
void | InitResource
(
FRHICommandListBase& RHICmdList |
Initializes the resource. This is only called by the rendering thread. |
![]() ![]() |
void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. |
![]() ![]() |
void | Prepares the resource for deletion. This is only called by the rendering thread. | |
![]() ![]() |
void | ReleaseRHI () |
Releases the RHI resources used by this resource. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
void | operator=
(
const FStaticMeshVertexBuffer& Other |
Specialized assignment operator, only used when importing LOD's. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FTangentsVertexBuffer | ||
![]() |
FTexcoordVertexBuffer |