![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "CoreMinimal.h"#include "Misc/LargeWorldRenderPosition.h"#include "Engine/EngineTypes.h"#include "SceneTypes.h"#include "RenderResource.h"#include "ShaderParameters.h"#include "UniformBuffer.h"Go to the source code of this file.
Classes | |
| class | FIdentityPrimitiveUniformBuffer |
Functions | |
| ENGINE_API TUniformBufferRef< FPrimitiveUniformShaderParameters > | CreatePrimitiveUniformBufferImmediate (const FMatrix &LocalToWorld, const FBoxSphereBounds &WorldBounds, const FBoxSphereBounds &LocalBounds, const FBoxSphereBounds &PreSkinnedLocalBounds, bool bReceivesDecals, bool bOutputVelocity) |
| ENGINE_API FPrimitiveUniformShaderParameters | GetIdentityPrimitiveParameters () |
Variables | |
| ENGINE_API TGlobalResource< FIdentityPrimitiveUniformBuffer > | GIdentityPrimitiveUniformBuffer |
| ENGINE_API TUniformBufferRef< FPrimitiveUniformShaderParameters > CreatePrimitiveUniformBufferImmediate | ( | const FMatrix & | LocalToWorld, |
| const FBoxSphereBounds & | WorldBounds, | ||
| const FBoxSphereBounds & | LocalBounds, | ||
| const FBoxSphereBounds & | PreSkinnedLocalBounds, | ||
| bool | bReceivesDecals, | ||
| bool | bOutputVelocity | ||
| ) |
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.
| ENGINE_API FPrimitiveUniformShaderParameters GetIdentityPrimitiveParameters | ( | ) |
|
extern |
Global primitive uniform buffer resource containing identity transformations.