Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/BinaryStreamReader
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static BinaryStreamReader * create
(
BoundedIOStream* stream, |
Factory method for creation of BinaryStreamReader. | dna/BinaryStreamReader.h | |
static BinaryStreamReader * create
(
BoundedIOStream* stream, |
Factory method for creation of BinaryStreamReader. | dna/BinaryStreamReader.h | |
static BinaryStreamReader * create
(
BoundedIOStream* stream, |
Factory method for creation of BinaryStreamReader. | dna/BinaryStreamReader.h |
create(BoundedIOStream , DataLayer, UnknownLayerPolicy, std::uint16_t, MemoryResource )
Warnings The maxLOD value must be less than the value returned by getLODCount. User is responsible for releasing the returned pointer by calling destroy.
Description
The Definition data layer depends on and thus implicitly loads the Descriptor layer. The Behavior data layer depends on and thus implicitly loads the Definition layer. The Geometry data layer depends on and thus also implicitly loads the Definition layer. The MachineLearnedBehavior data layer depends on and thus also implicitly loads the Definition layer.
A value of zero indicates to load all LODs.
The maxLOD value must be less than the value returned by getLODCount.
If a memory resource is not given, a default allocation mechanism will be used.
User is responsible for releasing the returned pointer by calling destroy.
| Name | create |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/BinaryStreamReader.h |
| Include Path | #include "dna/BinaryStreamReader.h" |
| Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/dna/stream/BinaryStreamReaderImpl.cpp |
static BinaryStreamReader * create
(
BoundedIOStream * stream,
DataLayer layer,
UnknownLayerPolicy policy,
std::uint16_t maxLOD,
MemoryResource * memRes
)
Parameters
| Name | Remarks |
|---|---|
| stream | Source stream from which data is going to be read. |
| layer | Specify the layer up to which the data needs to be loaded. |
| policy | Specify whether unknown layers are to be preserved or just ignored. |
| maxLOD | The maximum level of details to be loaded. |
| memRes | Memory resource to be used for allocations. |
See Also
-
getLODCount
-
destroy
create(BoundedIOStream , DataLayer, UnknownLayerPolicy, std::uint16_t, std::uint16_t, MemoryResource )
Warnings Both maxLOD and minLOD values must be less than the value returned by getLODCount. User is responsible for releasing the returned pointer by calling destroy.
Description
The Definition data layer depends on and thus implicitly loads the Descriptor layer. The Behavior data layer depends on and thus implicitly loads the Definition layer. The Geometry data layer depends on and thus also implicitly loads the Definition layer. The MachineLearnedBehavior data layer depends on and thus also implicitly loads the Definition layer.
A range of [0, LOD count - 1] for maxLOD / minLOD respectively indicates to load all LODs.
Both maxLOD and minLOD values must be less than the value returned by getLODCount.
If a memory resource is not given, a default allocation mechanism will be used.
User is responsible for releasing the returned pointer by calling destroy.
| Name | create |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/BinaryStreamReader.h |
| Include Path | #include "dna/BinaryStreamReader.h" |
| Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/dna/stream/BinaryStreamReaderImpl.cpp |
static BinaryStreamReader * create
(
BoundedIOStream * stream,
DataLayer layer,
UnknownLayerPolicy policy,
std::uint16_t maxLOD,
std::uint16_t minLOD,
MemoryResource * memRes
)
Parameters
| Name | Remarks |
|---|---|
| stream | Source stream from which data is going to be read. |
| layer | Specify the layer up to which the data needs to be loaded. |
| policy | Specify whether unknown layers are to be preserved or just ignored. |
| maxLOD | The maximum level of details to be loaded. |
| minLOD | The minimum level of details to be loaded. |
| memRes | Memory resource to be used for allocations. |
See Also
-
getLODCount
-
destroy
create(BoundedIOStream , DataLayer, UnknownLayerPolicy, std::uint16_t , std::uint16_t, MemoryResource *)
Warnings All values in the array must be less than the value returned by getLODCount. There cannot be more elements in the array than the value returned by getLODCount. * User is responsible for releasing the returned pointer by calling destroy.
Description
The Definition data layer depends on and thus implicitly loads the Descriptor layer. The Behavior data layer depends on and thus implicitly loads the Definition layer. The Geometry data layer depends on and thus also implicitly loads the Definition layer. The MachineLearnedBehavior data layer depends on and thus also implicitly loads the Definition layer.
All values in the array must be less than the value returned by getLODCount.
There cannot be more elements in the array than the value returned by getLODCount.
If a memory resource is not given, a default allocation mechanism will be used.
User is responsible for releasing the returned pointer by calling destroy.
| Name | create |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/BinaryStreamReader.h |
| Include Path | #include "dna/BinaryStreamReader.h" |
| Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/dna/stream/BinaryStreamReaderImpl.cpp |
static BinaryStreamReader * create
(
BoundedIOStream * stream,
DataLayer layer,
UnknownLayerPolicy policy,
std::uint16_t * lods,
std::uint16_t lodCount,
MemoryResource * memRes
)
Parameters
| Name | Remarks |
|---|---|
| stream | Source stream from which data is going to be read. |
| layer | Specify the layer up to which the data needs to be loaded. |
| policy | Specify whether unknown layers are to be preserved or just ignored. |
| lods | An array specifying which exact lods to load. |
| lodCount | The number of elements in the lods array. |
| memRes | Memory resource to be used for allocations. |
See Also
-
getLODCount
-
getLODCount
-
destroy