Assimp  v4.1. (December 2018)
glTF2::Buffer::SEncodedRegion Struct Reference

Public Member Functions

 SEncodedRegion (const size_t pOffset, const size_t pEncodedData_Length, uint8_t *pDecodedData, const size_t pDecodedData_Length, const std::string pID)
 
 ~SEncodedRegion ()
 

Public Attributes

uint8_t *const DecodedData
 Cached encoded data. More...
 
const size_t DecodedData_Length
 Size of decoded region, in bytes. More...
 
const size_t EncodedData_Length
 Size of encoded region, in bytes. More...
 
const std::string ID
 ID of the region. More...
 
const size_t Offset
 Offset from begin of "bufferView" to encoded region, in bytes. More...
 

Detailed Description

Descriptor of encoded region in "bufferView".

Constructor & Destructor Documentation

◆ SEncodedRegion()

glTF2::Buffer::SEncodedRegion::SEncodedRegion ( const size_t  pOffset,
const size_t  pEncodedData_Length,
uint8_t pDecodedData,
const size_t  pDecodedData_Length,
const std::string  pID 
)
inline

Constructor.

Parameters
[in]pOffset- offset from begin of "bufferView" to encoded region, in bytes.
[in]pEncodedData_Length- size of encoded region, in bytes.
[in]pDecodedData- pointer to decoded data array.
[in]pDecodedData_Length- size of encoded region, in bytes.
[in]pID- ID of the region.

◆ ~SEncodedRegion()

glTF2::Buffer::SEncodedRegion::~SEncodedRegion ( )
inline

Destructor.

Member Data Documentation

◆ DecodedData

uint8_t* const glTF2::Buffer::SEncodedRegion::DecodedData

Cached encoded data.

◆ DecodedData_Length

const size_t glTF2::Buffer::SEncodedRegion::DecodedData_Length

Size of decoded region, in bytes.

◆ EncodedData_Length

const size_t glTF2::Buffer::SEncodedRegion::EncodedData_Length

Size of encoded region, in bytes.

◆ ID

const std::string glTF2::Buffer::SEncodedRegion::ID

ID of the region.

◆ Offset

const size_t glTF2::Buffer::SEncodedRegion::Offset

Offset from begin of "bufferView" to encoded region, in bytes.


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