Mesh render data flags, used to specify various properties of the mesh render data that can affect how it is rendered.
More...
#include <MeshComponent.h>
|
| enum | Enum : StorageType {
None = 0U
, StaticObject = XII_BIT(0)
, DynamicObject = XII_BIT(1)
, Skinned = XII_BIT(2)
,
MorphTargets = XII_BIT(3)
, Instanced = XII_BIT(4)
, PreferMeshShader = XII_BIT(5)
, ForceLOD = XII_BIT(6)
,
CpuCullingFallback = XII_BIT(7)
, RayTracingVisible = XII_BIT(8)
, Default = PreferMeshShader
} |
|
using | StorageType = xiiUInt16 |
Mesh render data flags, used to specify various properties of the mesh render data that can affect how it is rendered.
◆ Enum
| Enumerator |
|---|
| None | No special flags, default for most meshes.
|
| StaticObject | Mesh represents static geometry that does not move or animate, allowing for more aggressive culling and batching optimizations.
|
| DynamicObject | Mesh represents dynamic geometry that may move or animate, requiring different rendering strategies.
|
| Skinned | Mesh is skinned and requires skinning matrices for rendering.
|
| MorphTargets | Mesh has morph targets for shape blending.
|
| Instanced | Mesh is instanced, allowing for efficient rendering of multiple instances.
|
| PreferMeshShader | Prefer using mesh shaders for rendering, if available.
|
| ForceLOD | Force the use of a specific LOD level.
|
| CpuCullingFallback | Use CPU culling as a fallback.
|
| RayTracingVisible | Mesh is visible to ray tracing.
|
The documentation for this struct was generated from the following file:
- /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Meshes/MeshComponent.h