Navigation
API > API/Runtime > API/Runtime/Engine
Desired stride when creating a static index buffer.
| Name | EIndexBufferStride::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/RawIndexBuffer.h |
| Include Path | #include "RawIndexBuffer.h" |
Syntax
namespace EIndexBufferStride
{
enum Type
{
Force16Bit = 1,
Force32Bit = 2,
AutoDetect = 3,
}
}
Values
| Name | Remarks |
|---|---|
| Force16Bit | Forces all indices to be 16-bit. |
| Force32Bit | Forces all indices to be 32-bit. |
| AutoDetect | Use 16 bits unless an index exceeds MAX_uint16. |