FPrimitiveUniformShaderParameters

The uniform shader parameters associated with a primitive.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/PrimitiveUniformShaderParameters.h

Include

#include "PrimitiveUniformShaderParameters.h"

Syntax

class FPrimitiveUniformShaderParameters

Remarks

The uniform shader parameters associated with a primitive. Note: Must match FPrimitiveSceneData in shaders. Note 2: Try to keep this 16 byte aligned. i.e |Matrix4x4|Vector3,float|Vector3,float|Vector4| NOT |Vector3,(waste padding)|Vector3,(waste padding)|Vector3. Or at least mark out padding if it can't be avoided.

Variables

Constructors

Functions

Name Description

Public function Static

FUniformBuff...

 

CreateUniformBuffer

(
    const FPrimitiveUniformShaderParame...,
    EUniformBufferUsage InUsage
)

Classes

Name

Description

Public struct

FTypeInfo

Typedefs

Constants

Name

Description

StaticStructMetadata

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