FMOD_Studio_System_GetBankByID() private method

private FMOD_Studio_System_GetBankByID ( IntPtr studiosystem, byte guid, IntPtr &bank ) : RESULT
studiosystem System.IntPtr
guid byte
bank System.IntPtr
return RESULT
Beispiel #1
0
        public RESULT getBankByID(Guid guid, out Bank bank)
        {
            bank = null;
            IntPtr raw    = 0;
            RESULT rESULT = System.FMOD_Studio_System_GetBankByID(this.rawPtr, guid.ToByteArray(), out raw);

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