Functions for Materials

Function List

InterfaceMaterialInit
Initialise interface material.
InterfaceMaterialBandInit
Initialise frequency dependant material properties.
InterfaceMaterialBandsAlloc
Allocation of materials.
InterfaceMaterialsAlloc
Allocation of memory for material bands of a material.
InterfaceMaterialBandsFree
Free memory of all material bands of a material.
InterfaceMaterialsFree
Free memory allocated to materials.
InterfaceMaterialsInit
Initialize materials.
InterfaceMaterialInit
Initialise material structure
InterfaceMaterialCopy
Initialise material structure
InterfaceMaterialFree
Free material structure

Function Details

int InterfaceMaterialInit(MATERIAL * Material)

Description

Initialise interface material.

Parameters

MATERIAL * Material
The material.

Returns 0.

int InterfaceMaterialBandInit(MATERIALBAND * Band)

Description

Initialise frequency dependant material properties.

Parameters

MATERIALBAND * Band
Material properties to initialise.

Returns 0.

int InterfaceMaterialBandsAlloc(int NrBands, MATERIAL * Material)

Description

Allocation of materials.

Parameters

int NrBands
Number of materials.
MATERIAL * Material
Material structure of type MATERIALS.

Returns 0.

int InterfaceMaterialsAlloc(int NrMaterials, MATERIALS * Materials)

Description

Allocation of memory for material bands of a material.

Parameters

int NrMaterials
Number of bands.
MATERIALS * Materials
Material structure of type MATERIAL.

Returns 0.

int InterfaceMaterialBandsFree(MATERIAL * Material)

Description

Free memory of all material bands of a material.

Parameters

MATERIAL * Material
All material band of MATERIAL will be freed.

Returns 0.

int InterfaceMaterialsFree(MATERIALS * Materials)

Description

Free memory allocated to materials.

Parameters

MATERIALS * Materials
material to be freed.

Returns 0.

int InterfaceMaterialsInit(MATERIALS * Materials)

Description

Initialize materials.

Parameters

MATERIALS * Materials
Material to be initialised.

Returns 0.

void InterfaceMaterialInit(INTERFACE_MATERIAL * material)

Description

Initialise material structure

Parameters

INTERFACE_MATERIAL * material
The material.

Returns None

int InterfaceMaterialCopy(INTERFACE_MATERIAL * source, INTERFACE_MATERIAL * copy)

Description

Initialise material structure

Parameters

INTERFACE_MATERIAL * source
Source material data.
INTERFACE_MATERIAL * copy
Copy of material data.

Returns An integer. 0 = data valid

void InterfaceMaterialFree(INTERFACE_MATERIAL * material)

Description

Free material structure

Parameters

INTERFACE_MATERIAL * material
the material struct to be freed.

Returns None

The documentation was generated from the following file:
  • source/Public/Interface/InterfaceMaterial.h