/Engine/Source/Runtime/RHI/Public/RHIDefinitions.h
enum EResourceTableDefinitions { RTD_NumBits_UniformBufferIndex = 8, RTD_NumBits_ResourceIndex = 16, RTD_NumBits_BindIndex = 8, RTD_Mask_UniformBufferIndex = (1 << RTD_NumBits_UniformBufferIndex) - 1, RTD_Mask_ResourceIndex = (1 << RTD_NumBits_ResourceIndex) - 1, RTD_Mask_BindIndex = (1 << RTD_NumBits_BindIndex) - 1, RTD_Shift_BindIndex = 0, RTD_Shift_ResourceIndex = RTD_Shift_BindIndex + RTD_NumBits_BindIndex, RTD_Shift_UniformBufferIndex = RTD_Shift_ResourceIndex + RTD_NumBits_ResourceIndex, }