Struct IUnityGraphicsVulkan

Source
#[repr(C)]
pub struct IUnityGraphicsVulkan {
Show 14 fields pub InterceptInitialization: Option<unsafe extern "system" fn(func: UnityVulkanInitCallback, userdata: *mut c_void) -> bool>, pub InterceptVulkanAPI: Option<unsafe extern "system" fn(name: *const c_char, func: PFN_vkVoidFunction) -> PFN_vkVoidFunction>, pub ConfigureEvent: Option<unsafe extern "system" fn(eventID: c_int, pluginEventConfig: *const UnityVulkanPluginEventConfig)>, pub Instance: Option<unsafe extern "system" fn() -> UnityVulkanInstance>, pub CommandRecordingState: Option<unsafe extern "system" fn(outCommandRecordingState: *mut UnityVulkanRecordingState, queueAccess: UnityVulkanGraphicsQueueAccess) -> bool>, pub AccessTexture: Option<unsafe extern "system" fn(nativeTexture: *mut c_void, subResource: *const VkImageSubresource, layout: VkImageLayout, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outImage: *mut UnityVulkanImage) -> bool>, pub AccessRenderBufferTexture: Option<unsafe extern "system" fn(nativeRenderBuffer: UnityRenderBuffer, subResource: *const VkImageSubresource, layout: VkImageLayout, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outImage: *mut UnityVulkanImage) -> bool>, pub AccessRenderBufferResolveTexture: Option<unsafe extern "system" fn(nativeRenderBuffer: UnityRenderBuffer, subResource: *const VkImageSubresource, layout: VkImageLayout, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outImage: *mut UnityVulkanImage) -> bool>, pub AccessBuffer: Option<unsafe extern "system" fn(nativeBuffer: *mut c_void, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outBuffer: *mut UnityVulkanBuffer) -> bool>, pub EnsureOutsideRenderPass: Option<unsafe extern "system" fn()>, pub EnsureInsideRenderPass: Option<unsafe extern "system" fn()>, pub AccessQueue: Option<unsafe extern "system" fn(arg1: UnityRenderingEventAndData, eventId: c_int, userData: *mut c_void, flush: bool)>, pub ConfigureSwapchain: Option<unsafe extern "system" fn(swapChainConfig: *const UnityVulkanSwapchainConfiguration) -> bool>, pub AccessTextureByID: Option<unsafe extern "system" fn(textureID: UnityTextureID, subResource: *const VkImageSubresource, layout: VkImageLayout, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outImage: *mut UnityVulkanImage) -> bool>,
}

Fields§

§InterceptInitialization: Option<unsafe extern "system" fn(func: UnityVulkanInitCallback, userdata: *mut c_void) -> bool>§InterceptVulkanAPI: Option<unsafe extern "system" fn(name: *const c_char, func: PFN_vkVoidFunction) -> PFN_vkVoidFunction>§ConfigureEvent: Option<unsafe extern "system" fn(eventID: c_int, pluginEventConfig: *const UnityVulkanPluginEventConfig)>§Instance: Option<unsafe extern "system" fn() -> UnityVulkanInstance>§CommandRecordingState: Option<unsafe extern "system" fn(outCommandRecordingState: *mut UnityVulkanRecordingState, queueAccess: UnityVulkanGraphicsQueueAccess) -> bool>§AccessTexture: Option<unsafe extern "system" fn(nativeTexture: *mut c_void, subResource: *const VkImageSubresource, layout: VkImageLayout, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outImage: *mut UnityVulkanImage) -> bool>§AccessRenderBufferTexture: Option<unsafe extern "system" fn(nativeRenderBuffer: UnityRenderBuffer, subResource: *const VkImageSubresource, layout: VkImageLayout, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outImage: *mut UnityVulkanImage) -> bool>§AccessRenderBufferResolveTexture: Option<unsafe extern "system" fn(nativeRenderBuffer: UnityRenderBuffer, subResource: *const VkImageSubresource, layout: VkImageLayout, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outImage: *mut UnityVulkanImage) -> bool>§AccessBuffer: Option<unsafe extern "system" fn(nativeBuffer: *mut c_void, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outBuffer: *mut UnityVulkanBuffer) -> bool>§EnsureOutsideRenderPass: Option<unsafe extern "system" fn()>§EnsureInsideRenderPass: Option<unsafe extern "system" fn()>§AccessQueue: Option<unsafe extern "system" fn(arg1: UnityRenderingEventAndData, eventId: c_int, userData: *mut c_void, flush: bool)>§ConfigureSwapchain: Option<unsafe extern "system" fn(swapChainConfig: *const UnityVulkanSwapchainConfiguration) -> bool>§AccessTextureByID: Option<unsafe extern "system" fn(textureID: UnityTextureID, subResource: *const VkImageSubresource, layout: VkImageLayout, pipelineStageFlags: VkPipelineStageFlags, accessFlags: VkAccessFlags, accessMode: UnityVulkanResourceAccessMode, outImage: *mut UnityVulkanImage) -> bool>

Trait Implementations§

Source§

impl Clone for IUnityGraphicsVulkan

Source§

fn clone(&self) -> IUnityGraphicsVulkan

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for IUnityGraphicsVulkan

Source§

fn default() -> IUnityGraphicsVulkan

Returns the “default value” for a type. Read more
Source§

impl Copy for IUnityGraphicsVulkan

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.