Exemple #1
0
 public VkDebugUtilsObjectNameInfoEXT(VkObjectType objectType, ulong handle)
 {
     this._sType      = (int)VkStructureType.DebugUtilsObjectNameInfoEXT;
     pNext            = IntPtr.Zero;
     this._objectType = (int)objectType;
     objectHandle     = handle;
     pObjectName      = IntPtr.Zero;
 }
Exemple #2
0
        private static InternalVkObjectType ToInternal(VkObjectType vkObjectType)
        {
            switch (vkObjectType)
            {
            case VkObjectType.User:
            {
                return(InternalVkObjectType.User);
            }

            case VkObjectType.Group:
            {
                return(InternalVkObjectType.Group);
            }

            default:
            {
                throw new NotImplementedException();
            }
            }
        }