Beispiel #1
0
        public Result BindBufferMemory(IMgDevice device, IMgDeviceMemory memory, UInt64 memoryOffset)
        {
            Debug.Assert(!mIsDisposed);

            var bDevice = (VkDevice)device;

            Debug.Assert(bDevice != null);             // RIGHT TYPE

            var bMemory = (VkDeviceMemory)memory;

            Debug.Assert(bMemory != null);             // RIGHT TYPE

            return(Interops.vkBindBufferMemory(bDevice.Handle, this.Handle, bMemory.Handle, memoryOffset));
        }