Пример #1
0
        public void CmdBindVertexBuffers(int firstBinding, int bindingCount, VkBuffer[] pBuffers, int[] pOffsets)
        {
            if (m_State != CommandBufferState.Recording)
            {
                return;
            }

            SoftwareBuffer[] softwareBuffers = ArrayUtil.ConvertArray <VkBuffer, SoftwareBuffer>(pBuffers);
            m_Commands.Add(new Cmd_BindVertexBuffers(firstBinding, bindingCount, softwareBuffers, pOffsets));
        }