![]() | |
![]() | ![]() |
CL_Res_SampleThe sound sample resource type. Parents: public CL_ResourceType DescriptionThis class is used to load sample resources from a resource source (datafile or script file). Use the CL_ResourceManager to get an instance to the resource source, and then call one of the static functions here to load the resource: CL_ResourceManager res_manager("my_datafile.dat", true); CL_SoundBuffer *my_sample = CL_Res_Sample::load("my_sample", res_manager); Class membersstatic CL_SoundBuffer *load( CL_String res_id, CL_ResourceManager &manager) See AlsoNone |