![]() ![]() Void addAssetDirectory( const fs::path &directory ) you should not call this when loadAsset() or getAssetPath() can occur from a different thread. ![]() ! Adds an absolute path to the list of directories which are searched for assets. Virtual fs::path getAssetPath( const fs::path &relativePath ) const ! Returns a fs::path to an application asset. Virtual DataSourceRef loadAsset( const fs::path &relativePath ) ! Returns a DataSourceRef to an application asset. ! Called at the end of a launch, can be overridden for platform-specifc cleanup. ! Called at the beginning of a launch, can be overridden for platform-specifc preparation. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR PROFITS OR BUSINESS INTERRUPTION) IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FORĪNY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED The following disclaimer in the documentation and/or other materials provided with the distribution. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and * Redistributions of source code must retain the above copyright notice, this list of conditions and Redistribution and use in source and binary forms, with or without modification, are permitted provided that This code is intended to be used with the Cinder C++ library, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |