Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FUniformExpressionSet
Description
Allocates the specified number of float4s in the uniform buffer and returns the index of the first newly allocated float4 in the buffer. Note: multiply returned value by sizeof(float4) to know the byte offset in the buffer.
| Name | AllocateFromUniformBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialUniformExpressions.cpp |
uint32 AllocateFromUniformBuffer
(
uint32 NumOfFloat4s
)