/Engine/Source/Runtime/NullDrv/Public/NullRHI.h
Creates a uniform buffer. The contents of the uniform buffer are provided in a parameter, and are immutable. CAUTION: Even though this is marked as threadsafe, it is only valid to call from the render thread or the RHI thread. Thus is need not be threadsafe on platforms that do not support or aren't using an RHIThread
The new uniform buffer.
virtual FUniformBufferRHIRef RHICreateUniformBuffer ( const void * Contents, const [FRHIUniformBufferLayout](API\Runtime\RHI\FRHIUniformBufferLayout) * Layout, EUniformBufferUsage Usage, EUniformBufferValidation Validation )