FVertexFactoryParameterRef

An encapsulation of the vertex factory parameters for a shader.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "VertexFactory.h"

Syntax

class FVertexFactoryParameterRef

Remarks

An encapsulation of the vertex factory parameters for a shader. Handles serialization and binding of the vertex factory parameters for the shader's vertex factory type.

Constructors

Name Description

Public function

FVertexFactoryParameterRef()

Public function

FVertexFactoryParameterRef

(
    FVertexFactoryType* InVertexFa...,
    const FShaderParameterMap& Paramet...,
    EShaderFrequency InShaderFrequency,
    EShaderPlatform InShaderPlatform
)

Destructors

Functions

Name Description

Public function Const

uint32

 

GetAllocatedSize()

Public function Const

void

 

GetElementShaderBindings

(
    const FSceneInterface* Scene,
    const FSceneView* View,
    const FMeshMaterialShader* Sha...,
    const EVertexInputStreamType InputS...,
    ERHIFeatureLevel::Type FeatureLevel,
    const FVertexFactory* VertexFa...,
    const FMeshBatchElement& BatchElem...,
    FMeshDrawSingleShaderBindings& Sha...,
    FVertexInputStreamArray& VertexStr...
)

Public function Const

const FSHAHa...

 

GetHash()

Returns the hash of the vertex factory shader file that this shader was compiled with.

Public function Const

EShaderPlatf...

 

GetShaderPlatform()

Returns the shader platform that this shader was compiled with.

Public function Const

const FVerte...

 

GetVertexFactoryType()

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