Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR > API/Plugins/MutableRuntime/MuR/FMeshBufferSet
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/MeshBufferSet.h |
| Include | #include "MuR/MeshBufferSet.h" |
| Source | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Private/MuR/MeshBufferSet.cpp |
void GetChannel
&40;
int32 buffer,
int32 channel,
MESH_BUFFER_SEMANTIC &42; pSemantic,
int32 &42; pSemanticIndex,
MESH_BUFFER_FORMAT &42; pFormat,
int32 &42; pComponentCount,
int32 &42; pOffset
&41; const
Remarks
Get a channel of a buffer by index
Parameters
| Name | Description |
|---|---|
| buffer | index of the vertex buffer from 0 to GetBufferCount()-1 |
| channel | index of the channel from 0 to GetBufferChannelCount( buffer )-1 |
| pSemantic | semantic of the channel |
| pSemanticIndex | index of the semantic in case of having more than one of the same type. |
| pFormat | data format of the channel |
| pComponentCount | components of an element of the channel |
| pOffset | offset in bytes from the beginning of an element of the buffer |