MAX_UNIFORM_BUFFERS_PER_SHADER_STAGE

The RHI does not allow more than 14 constant buffers per shader stage due to D3D11 limits.

Windows
MacOS
Linux

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLState.h

Include

#include "OpenGLState.h"

Syntax

enum
{
    MAX_UNIFORM_BUFFERS_PER_SHADER_STAGE = 14
}

Remarks

The RHI does not allow more than 14 constant buffers per shader stage due to D3D11 limits.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss