aboutsummaryrefslogtreecommitdiffstatsci
path: root/vke/src/CommandPool.cs
diff options
context:
space:
mode:
authorj-p <jp_bruyere@hotmail.com>2019-04-12 00:03:21 +0200
committerGitHub <noreply@github.com>2019-04-12 00:03:21 +0200
commit18f58e83f22a023e34c05292b08037fdeddcbe0e (patch)
tree860971ceff1dfc728d259a8de84e82b4a1572fca /vke/src/CommandPool.cs
parentfcdeb16b403a138cc4dcdb96cb175384b80766c6 (diff)
new generator, had to be improved (#1)
* try to make it work with new generator * before features and extentions handling in generator * new gen wip * ok with new gen * newgenerator
Diffstat (limited to 'vke/src/CommandPool.cs')
-rw-r--r--vke/src/CommandPool.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/vke/src/CommandPool.cs b/vke/src/CommandPool.cs
index bcd170c..84dd51c 100644
--- a/vke/src/CommandPool.cs
+++ b/vke/src/CommandPool.cs
@@ -24,8 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
-using Vulkan;
-using static Vulkan.VulkanNative;
+using VK;
+using static VK.Vk;
namespace VKE {
public sealed class CommandPool : Activable {
@@ -48,7 +48,7 @@ namespace VKE {
public override void Activate () {
if (state != ActivableState.Activated) {
- VkCommandPoolCreateInfo infos = VkCommandPoolCreateInfo.New ();
+ VkCommandPoolCreateInfo infos = VkCommandPoolCreateInfo.New();
infos.queueFamilyIndex = QFamIndex;
Utils.CheckResult (vkCreateCommandPool (dev.VkDev, ref infos, IntPtr.Zero, out handle));
}
@@ -57,7 +57,7 @@ namespace VKE {
public CommandBuffer AllocateCommandBuffer (VkCommandBufferLevel level = VkCommandBufferLevel.Primary) {
VkCommandBuffer buff;
- VkCommandBufferAllocateInfo infos = VkCommandBufferAllocateInfo.New ();
+ VkCommandBufferAllocateInfo infos = VkCommandBufferAllocateInfo.New();
infos.commandPool = handle;
infos.level = level;
infos.commandBufferCount = 1;