FMOD_Studio_System_LoadBankFile() private method

private FMOD_Studio_System_LoadBankFile ( IntPtr studiosystem, byte filename, LOAD_BANK_FLAGS flags, IntPtr &bank ) : RESULT
studiosystem System.IntPtr
filename byte
flags LOAD_BANK_FLAGS
bank System.IntPtr
return RESULT
Example #1
0
        public RESULT loadBankFile(string name, LOAD_BANK_FLAGS flags, out Bank bank)
        {
            bank = null;
            IntPtr raw    = 0;
            RESULT rESULT = System.FMOD_Studio_System_LoadBankFile(this.rawPtr, Encoding.UTF8.GetBytes(name + '\0'), flags, out raw);

            if (rESULT != RESULT.OK)
            {
                return(rESULT);
            }
            bank = new Bank(raw);
            return(rESULT);
        }