use std::os::raw::c_char;
use std::ops::Deref;
use std::ptr;
use std::cmp;
use std::mem;
use utils::c_bindings::*;
use utils::vk_convert::*;
use utils::vk_null::*;
use utils::vk_ptr::*;
use utils::vk_traits::*;
use vulkan::vk::*;
use vulkan::vk::{VkStructureType,RawVkStructureType};
use vulkan::vk::{VkPointClippingBehavior,RawVkPointClippingBehavior};
#[derive(Debug, Clone)]
pub struct VkPhysicalDevicePointClippingProperties {
pub point_clipping_behavior: VkPointClippingBehavior,
}
#[doc(hidden)]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct RawVkPhysicalDevicePointClippingProperties {
pub s_type: RawVkStructureType,
pub next: *mut c_void,
pub point_clipping_behavior: RawVkPointClippingBehavior,
}
impl VkWrappedType<RawVkPhysicalDevicePointClippingProperties> for VkPhysicalDevicePointClippingProperties {
fn vk_to_raw(src: &VkPhysicalDevicePointClippingProperties, dst: &mut RawVkPhysicalDevicePointClippingProperties) {
dst.s_type = vk_to_raw_value(&VkStructureType::PhysicalDevicePointClippingProperties);
dst.next = ptr::null_mut();
dst.point_clipping_behavior = vk_to_raw_value(&src.point_clipping_behavior);
}
}
impl VkRawType<VkPhysicalDevicePointClippingProperties> for RawVkPhysicalDevicePointClippingProperties {
fn vk_to_wrapped(src: &RawVkPhysicalDevicePointClippingProperties) -> VkPhysicalDevicePointClippingProperties {
VkPhysicalDevicePointClippingProperties {
point_clipping_behavior: RawVkPointClippingBehavior::vk_to_wrapped(&src.point_clipping_behavior),
}
}
}
impl Default for VkPhysicalDevicePointClippingProperties {
fn default() -> VkPhysicalDevicePointClippingProperties {
VkPhysicalDevicePointClippingProperties {
point_clipping_behavior: Default::default(),
}
}
}
impl VkSetup for VkPhysicalDevicePointClippingProperties {
fn vk_setup(&mut self, fn_table: *mut VkFunctionTable) {
}
}
impl VkFree for RawVkPhysicalDevicePointClippingProperties {
fn vk_free(&self) {
}
}