Struct windows::AI::MachineLearning::LearningModelDevice
#[repr(transparent)]pub struct LearningModelDevice(_);
Expand description
Required features: "AI_MachineLearning"
Implementations§
§impl LearningModelDevice
impl LearningModelDevice
pub fn AdapterId(&self) -> Result<DisplayAdapterId>
pub fn AdapterId(&self) -> Result<DisplayAdapterId>
Required features: "Graphics"
pub fn Direct3D11Device(&self) -> Result<IDirect3DDevice>
pub fn Direct3D11Device(&self) -> Result<IDirect3DDevice>
Required features: "Graphics_DirectX_Direct3D11"
pub fn Create( devicekind: LearningModelDeviceKind ) -> Result<LearningModelDevice>
pub fn CreateFromDirect3D11Device<P0>(device: P0) -> Result<LearningModelDevice>where
P0: TryIntoParam<IDirect3DDevice>,
pub fn CreateFromDirect3D11Device<P0>(device: P0) -> Result<LearningModelDevice>where P0: TryIntoParam<IDirect3DDevice>,
Required features: "Graphics_DirectX_Direct3D11"