Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DebugMarkerObjectTagInfoExt"/> structure.
 /// </summary>
 /// <param name="obj">Vulkan object to be tagged.</param>
 /// <param name="tagName">A numerical identifier of the tag.</param>
 /// <param name="tag">Bytes containing the data to be associated with the object.</param>
 public DebugMarkerObjectTagInfoExt(VulkanHandle <long> obj, long tagName, byte[] tag)
 {
     ObjectType = GetTypeForObject(obj);
     Object     = obj.Handle;
     TagName    = tagName;
     Tag        = tag;
 }
Esempio n. 2
0
 public VkMemoryGetAndroidHardwareBufferInfoANDROID(
     VulkanHandle <VkDeviceMemory> memory = default
     )
 {
     sType  = TYPE;
     pNext  = null;
     Memory = memory;
 }
Esempio n. 3
0
 public VkImageViewHandleInfoNVX(
     VulkanHandle <VkImageView> imageView = default,
     VkDescriptorType descriptorType      = default,
     VulkanHandle <VkSampler> sampler     = default
     )
 {
     sType          = TYPE;
     pNext          = null;
     ImageView      = imageView;
     DescriptorType = descriptorType;
     Sampler        = sampler;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DebugMarkerObjectNameInfoExt"/> structure.
 /// </summary>
 /// <param name="obj">Vulkan object to name.</param>
 /// <param name="name">Name to set.</param>
 public DebugMarkerObjectNameInfoExt(VulkanHandle <long> obj, string name)
 {
     ObjectType = GetTypeForObject(obj);
     Object     = obj.Handle;
     ObjectName = name;
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DebugMarkerObjectNameInfoExt"/> structure.
 /// </summary>
 /// <param name="obj">Vulkan object to be name.</param>
 /// <param name="name">Name to set.</param>
 public DebugMarkerObjectNameInfoExt(VulkanHandle <IntPtr> obj, string name)
 {
     ObjectType = GetTypeForObject(obj);
     Object     = obj.Handle.ToInt64();
     ObjectName = name;
 }
Esempio n. 6
0
 public VkPrivateDataSlotEXT(VulkanHandle <VkPrivateDataSlotEXT> handle, VkDevice parent)
 {
     Handle    = handle;
     Parent    = parent;
     Functions = parent.Functions;
 }
Esempio n. 7
0
 public VkAccelerationStructureNV(VulkanHandle <VkAccelerationStructureNV> handle, VkDevice parent)
 {
     Handle    = handle;
     Parent    = parent;
     Functions = parent.Functions;
 }
Esempio n. 8
0
 public VkSamplerYcbcrConversionKHR(VulkanHandle <VkSamplerYcbcrConversionKHR> handle, VkDevice parent)
 {
     Handle    = handle;
     Parent    = parent;
     Functions = parent.Functions;
 }