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 SetBuffer
&40;
int32 buffer,
int32 elementSize,
int32 channelCount,
const MESH_BUFFER_SEMANTIC &42; pSemantics,
const int32 &42; pSemanticIndices,
const MESH_BUFFER_FORMAT &42; pFormats,
const int32 &42; pComponentCounts,
const int32 &42; pOffsets
&41;
Remarks
Set all the channels of a buffer
Parameters
| Name | Description |
|---|---|
| buffer | index of the buffer from 0 to GetBufferCount()-1 |
| elementSize | sizei n bytes of a vertex element in this buffer |
| channelCount | number of channels to set in the buffer |
| pSemantics | buffer of channelCount semantics |
| pSemanticIndices | buffer of indices for the semantic of every channel |
| pFormats | buffer of channelCount formats |
| pComponentCounts | buffer of channelCount component counts |
| pOffsets | offsets in bytes of every particular channel inside the buffer element |