Public Attributes | List of all members
drmtl_material Struct Reference

Structure containing the definition of the material. More...

#include <dr_mtl.h>

Public Attributes

unsigned int bufferSizeInBytes
 The size of the buffer, in bytes. This is used to determine when the buffer needs to be inflated. More...
 
unsigned int currentChannelOffset
 
unsigned int currentStage
 
bool ownsRawData
 
drmtl_uint8pRawData
 A pointer to the raw data. This will at least be the size of drmtl_header (128 bytes, as of version 1). More...
 
unsigned int sizeInBytes
 The size of the data, in bytes. More...
 

Detailed Description

Structure containing the definition of the material.

Definition at line 581 of file porcupine/demo/c/dr_libs/old/dr_mtl.h.

Member Data Documentation

◆ bufferSizeInBytes

unsigned int drmtl_material::bufferSizeInBytes

The size of the buffer, in bytes. This is used to determine when the buffer needs to be inflated.

Definition at line 590 of file porcupine/demo/c/dr_libs/old/dr_mtl.h.

◆ currentChannelOffset

unsigned int drmtl_material::currentChannelOffset

The offset of the current channel. This is needed to we can determine which bytes need to be updated as instructions are added to the channel.

Definition at line 599 of file porcupine/demo/c/dr_libs/old/dr_mtl.h.

◆ currentStage

unsigned int drmtl_material::currentStage

The current stage of the construction process of the material. A material must be constructed in order, so this keeps track of the current stage to ensure the proper errors are returned.

Definition at line 595 of file porcupine/demo/c/dr_libs/old/dr_mtl.h.

◆ ownsRawData

bool drmtl_material::ownsRawData

Whether or not the material data is owned by this library. When this is set to false, the library will never modify the original pointer.

Definition at line 604 of file porcupine/demo/c/dr_libs/old/dr_mtl.h.

◆ pRawData

drmtl_uint8 * drmtl_material::pRawData

A pointer to the raw data. This will at least be the size of drmtl_header (128 bytes, as of version 1).

Definition at line 584 of file porcupine/demo/c/dr_libs/old/dr_mtl.h.

◆ sizeInBytes

unsigned int drmtl_material::sizeInBytes

The size of the data, in bytes.

Definition at line 587 of file porcupine/demo/c/dr_libs/old/dr_mtl.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19