Navigation
API > API/Plugins > API/Plugins/MeshPartition
Interface to constants describing the packing of the channel slots in the channel table embedded in the section primitives and accessed by the material shader
| Name | FChannelPacking |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartition/Public/MeshPartitionChannel.h |
| Include Path | #include "MeshPartitionChannel.h" |
Syntax
struct FChannelPacking
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxNumberPackedChannels | const uint8 | Maximum number of channels supported with the packing configuration. | MeshPartitionChannel.h |
| SlotInvalid | const uint8 | Invalid slot value is all N bits set to 1. | MeshPartitionChannel.h |
| SlotNumBits | const uint8 | Slot is represented by N bits. | MeshPartitionChannel.h |
| TableMaxNumSlots | const uint8 | Number of channel slots available in the table | MeshPartitionChannel.h |
| TableNumWords | const uint8 | Table is a vec of P words (a word is 32bits). | MeshPartitionChannel.h |
| WordNumSlots | const uint8 | Number of channel slots of N bits in a 32bits word of the table. | MeshPartitionChannel.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void SetCustomPrimitiveData
(
UPrimitiveComponent* InPrimitiveComponent, |
In the following table we are indicating the maximum number of packed channels depending on | MeshPartitionChannel.h |