RHISupportsAbsoluteVertexID

Returns true if SV_VertexID contains BaseVertexIndex passed to the draw call, false if shaders must manually construct an absolute VertexID.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHI.h

Include

#include "RHI.h"

Syntax

bool RHISupportsAbsoluteVertexID
(
    const EShaderPlatform InShaderPlatform
)

Remarks

Returns true if SV_VertexID contains BaseVertexIndex passed to the draw call, false if shaders must manually construct an absolute VertexID.

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