API Documentation
Static Public Member Functions | List of all members
nkGraphics::GltfEncoder Class Referencefinal

Allows to work with the GLTF 2 format (Do not use, WIP). More...

Static Public Member Functions

static bool canDecode (nkMemory::BufferView<> sources)
 
static DecodedData decode (nkMemory::BufferView<> sources, const GltfDecodeOptions &options=GltfDecodeOptions())
 

Detailed Description

Allows to work with the GLTF 2 format (Do not use, WIP).

Member Function Documentation

◆ canDecode()

static bool nkGraphics::GltfEncoder::canDecode ( nkMemory::BufferView<>  sources)
static

Checks whether data can be decoded or not.

Parameters
sourcesData to check.
Returns
Whether the data can be decoded using this encoder (true) or not (false).

◆ decode()

static DecodedData nkGraphics::GltfEncoder::decode ( nkMemory::BufferView<>  sources,
const GltfDecodeOptions options = GltfDecodeOptions() 
)
static

Decodes provided data.

Parameters
sourcesData to decode.
optionsThe options allowing to customize how the decoding should happen.
Returns
Decoded data.

The documentation for this class was generated from the following file: