MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / createBuffer

Method createBuffer

Engine/source/sfx/sfxDevice.h:162–162  ·  view source on GitHub ↗

Create a sound buffer directly for a file. This is for devices that implemented their own custom file loading. @note Only implemented on specific SFXDevices. @return Return a new buffer or NULL.

Source from the content-addressed store, hash-verified

160 /// @note Only implemented on specific SFXDevices.
161 /// @return Return a new buffer or NULL.
162 virtual SFXBuffer* createBuffer( const String& fileName, SFXDescription* description ) { return NULL; }
163
164 /// Tries to create a new voice.
165 ///

Callers 2

_createBufferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected