[−][src]Struct rafx_api::vulkan::RafxDeviceContextVulkan
Implementations
impl RafxDeviceContextVulkan
[src]
pub fn device_info(&self) -> &RafxDeviceInfo
[src]
pub fn entry(&self) -> &VkEntry
[src]
pub fn instance(&self) -> &Instance
[src]
pub fn device(&self) -> &Device
[src]
pub fn physical_device(&self) -> PhysicalDevice
[src]
pub fn physical_device_info(&self) -> &PhysicalDeviceInfo
[src]
pub fn limits(&self) -> &PhysicalDeviceLimits
[src]
pub fn allocator(&self) -> &Allocator
[src]
pub fn queue_allocator(&self) -> &VkQueueAllocatorSet
[src]
pub fn queue_family_indices(&self) -> &VkQueueFamilyIndices
[src]
pub fn dedicated_present_queue_lock(&self) -> &Mutex<()>
[src]
pub fn new(inner: Arc<RafxDeviceContextVulkanInner>) -> RafxResult<Self>
[src]
pub fn create_queue(
&self,
queue_type: RafxQueueType
) -> RafxResult<RafxQueueVulkan>
[src]
&self,
queue_type: RafxQueueType
) -> RafxResult<RafxQueueVulkan>
pub fn create_fence(&self) -> RafxResult<RafxFenceVulkan>
[src]
pub fn create_semaphore(&self) -> RafxResult<RafxSemaphoreVulkan>
[src]
pub fn create_swapchain(
&self,
raw_window_handle: &dyn HasRawWindowHandle,
swapchain_def: &RafxSwapchainDef
) -> RafxResult<RafxSwapchainVulkan>
[src]
&self,
raw_window_handle: &dyn HasRawWindowHandle,
swapchain_def: &RafxSwapchainDef
) -> RafxResult<RafxSwapchainVulkan>
pub fn wait_for_fences(&self, fences: &[&RafxFenceVulkan]) -> RafxResult<()>
[src]
pub fn wait_for_device_idle(&self) -> RafxResult<()>
[src]
pub fn create_sampler(
&self,
sampler_def: &RafxSamplerDef
) -> RafxResult<RafxSamplerVulkan>
[src]
&self,
sampler_def: &RafxSamplerDef
) -> RafxResult<RafxSamplerVulkan>
pub fn create_texture(
&self,
texture_def: &RafxTextureDef
) -> RafxResult<RafxTextureVulkan>
[src]
&self,
texture_def: &RafxTextureDef
) -> RafxResult<RafxTextureVulkan>
pub fn create_render_target(
&self,
render_target_def: &RafxRenderTargetDef
) -> RafxResult<RafxRenderTargetVulkan>
[src]
&self,
render_target_def: &RafxRenderTargetDef
) -> RafxResult<RafxRenderTargetVulkan>
pub fn create_buffer(
&self,
buffer_def: &RafxBufferDef
) -> RafxResult<RafxBufferVulkan>
[src]
&self,
buffer_def: &RafxBufferDef
) -> RafxResult<RafxBufferVulkan>
pub fn create_shader(
&self,
stages: Vec<RafxShaderStageDef>
) -> RafxResult<RafxShaderVulkan>
[src]
&self,
stages: Vec<RafxShaderStageDef>
) -> RafxResult<RafxShaderVulkan>
pub fn create_root_signature(
&self,
root_signature_def: &RafxRootSignatureDef<'_>
) -> RafxResult<RafxRootSignatureVulkan>
[src]
&self,
root_signature_def: &RafxRootSignatureDef<'_>
) -> RafxResult<RafxRootSignatureVulkan>
pub fn create_descriptor_set_array(
&self,
descriptor_set_array_def: &RafxDescriptorSetArrayDef<'_>
) -> RafxResult<RafxDescriptorSetArrayVulkan>
[src]
&self,
descriptor_set_array_def: &RafxDescriptorSetArrayDef<'_>
) -> RafxResult<RafxDescriptorSetArrayVulkan>
pub fn create_graphics_pipeline(
&self,
graphics_pipeline_def: &RafxGraphicsPipelineDef<'_>
) -> RafxResult<RafxPipelineVulkan>
[src]
&self,
graphics_pipeline_def: &RafxGraphicsPipelineDef<'_>
) -> RafxResult<RafxPipelineVulkan>
pub fn create_compute_pipeline(
&self,
compute_pipeline_def: &RafxComputePipelineDef<'_>
) -> RafxResult<RafxPipelineVulkan>
[src]
&self,
compute_pipeline_def: &RafxComputePipelineDef<'_>
) -> RafxResult<RafxPipelineVulkan>
pub fn create_shader_module_from_bytes(
&self,
data: &[u8]
) -> RafxResult<RafxShaderModuleVulkan>
[src]
&self,
data: &[u8]
) -> RafxResult<RafxShaderModuleVulkan>
pub fn create_shader_module_from_spv(
&self,
spv: &[u32]
) -> RafxResult<RafxShaderModuleVulkan>
[src]
&self,
spv: &[u32]
) -> RafxResult<RafxShaderModuleVulkan>
pub fn find_supported_format(
&self,
candidates: &[RafxFormat],
resource_type: RafxResourceType
) -> Option<RafxFormat>
[src]
&self,
candidates: &[RafxFormat],
resource_type: RafxResourceType
) -> Option<RafxFormat>
pub fn find_supported_sample_count(
&self,
candidates: &[RafxSampleCount]
) -> Option<RafxSampleCount>
[src]
&self,
candidates: &[RafxSampleCount]
) -> Option<RafxSampleCount>
Trait Implementations
impl Clone for RafxDeviceContextVulkan
[src]
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RafxDeviceContextVulkan
[src]
impl Drop for RafxDeviceContextVulkan
[src]
impl Into<RafxDeviceContext> for RafxDeviceContextVulkan
[src]
pub fn into(self) -> RafxDeviceContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for RafxDeviceContextVulkan
[src]
impl Send for RafxDeviceContextVulkan
[src]
impl Sync for RafxDeviceContextVulkan
[src]
impl Unpin for RafxDeviceContextVulkan
[src]
impl UnwindSafe for RafxDeviceContextVulkan
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Resource for T where
T: Downcast + Send + Sync,
[src]
T: Downcast + Send + Sync,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,