pub struct VulkanDevice { /* private fields */ }This crate has been renamed. Please migrate to gpu-video.
Expand description
Open connection to a coding-capable device. Also contains a wgpu::Device, a wgpu::Queue and
a wgpu::Adapter.
Implementations§
Source§impl VulkanDevice
impl VulkanDevice
pub fn create_wgpu_textures_decoder( self: &Arc<Self>, parameters: DecoderParameters, ) -> Result<WgpuTexturesDecoder, DecoderError>
This crate has been renamed. Please migrate to gpu-video.
pub fn create_wgpu_textures_encoder( self: &Arc<Self>, parameters: EncoderParameters, ) -> Result<WgpuTexturesEncoder, VulkanEncoderError>
This crate has been renamed. Please migrate to gpu-video.
pub fn wgpu_device(&self) -> Device
This crate has been renamed. Please migrate to gpu-video.
pub fn wgpu_queue(&self) -> Queue
This crate has been renamed. Please migrate to gpu-video.
pub fn wgpu_adapter(&self) -> Adapter
This crate has been renamed. Please migrate to gpu-video.
Source§impl VulkanDevice
impl VulkanDevice
pub fn create_bytes_decoder( self: &Arc<Self>, parameters: DecoderParameters, ) -> Result<BytesDecoder, DecoderError>
This crate has been renamed. Please migrate to gpu-video.
pub fn create_bytes_encoder( self: &Arc<Self>, parameters: EncoderParameters, ) -> Result<BytesEncoder, VulkanEncoderError>
This crate has been renamed. Please migrate to gpu-video.
pub fn decode_capabilities(&self) -> DecodeCapabilities
This crate has been renamed. Please migrate to gpu-video.
pub fn encode_capabilities(&self) -> EncodeCapabilities
This crate has been renamed. Please migrate to gpu-video.
pub fn encoder_output_parameters_low_latency( &self, rate_control: RateControl, ) -> Result<EncoderOutputParameters, VulkanEncoderError>
This crate has been renamed. Please migrate to gpu-video.
pub fn encoder_output_parameters_high_quality( &self, rate_control: RateControl, ) -> Result<EncoderOutputParameters, VulkanEncoderError>
This crate has been renamed. Please migrate to gpu-video.
pub fn supports_decoding(&self) -> bool
This crate has been renamed. Please migrate to gpu-video.
pub fn supports_encoding(&self) -> bool
This crate has been renamed. Please migrate to gpu-video.