nCine 2022.04.r504-20bd01e
A cross-platform 2D game engine
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
ncine::AudioFilter Class Reference

A class representing an OpenAL filter. More...

#include <AudioFilter.h>

Classes

struct  Properties
 

Public Types

enum class  Type { NULL_FILTER , LOWPASS , HIGHPASS , BANDPASS }
 

Public Member Functions

 AudioFilter ()
 Creates an OpenAL filter name.
 
 AudioFilter (Type type)
 Creates an OpenAL filter name with the specified type.
 
 AudioFilter (AudioFilter &&other)
 Move constructor.
 
AudioFilteroperator= (AudioFilter &&other)
 Move assignment operator.
 
Type type () const
 Returns the filter type.
 
unsigned int filterId () const
 Returns the OpenAL filter id.
 
void applyProperties (const Properties &properties)
 Sets the filter type and all of its properties.
 

Detailed Description

A class representing an OpenAL filter.


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