AcousticTracer 0.1.0
An acoustic raytracing library.
Loading...
Searching...
No Matches
Scene

Topics

 Material Effects

Files

file  at.h
 The libraries public types and functions.
file  at_scene.h
 AT_Scene and related functions.

Data Structures

struct  AT_Source
 Groups the information required for the sound source. More...
struct  AT_SceneConfig
 Groups the scene config settings together. More...
struct  AT_Scene
 Groups the necessary information representing the scene. More...

Functions

void AT_scene_destroy (AT_Scene *scene)
 Destroys an allocated AT_Scene.
AT_Result AT_scene_create (AT_Scene **out_scene, const AT_SceneConfig *config)
 AT_Scene constructor for a given AT_SceneConfig.
void AT_scene_destroy (AT_Scene *scene)
 Destroys an allocated AT_Scene.

Detailed Description

Function Documentation

◆ AT_scene_create()

AT_Result AT_scene_create ( AT_Scene ** out_scene,
const AT_SceneConfig * config )
related

AT_Scene constructor for a given AT_SceneConfig.

Parameters
out_scenePointer to an empty initialised AT_Scene.
configPointer to the scene's config.
Return values
AT_ResultSaves the created scene at the location of the pointer, returning a result enum value.

◆ AT_scene_destroy() [1/2]

void AT_scene_destroy ( AT_Scene * scene)
related

Destroys an allocated AT_Scene.

Parameters
ScenePointer to an initialised AT_Scene.

◆ AT_scene_destroy() [2/2]

void AT_scene_destroy ( AT_Scene * scene)

Destroys an allocated AT_Scene.

Parameters
ScenePointer to an initialised AT_Scene.