pub struct GPUContext { /* private fields */ }Expand description
GPU コンテキスト(抽象化)
Implementations§
Source§impl GPUContext
impl GPUContext
Sourcepub fn new(
acceleration_type: GPUAccelerationType,
) -> Result<GPUContext, StorageError>
pub fn new( acceleration_type: GPUAccelerationType, ) -> Result<GPUContext, StorageError>
新しいGPUコンテキストを作成
Auto Trait Implementations§
impl Freeze for GPUContext
impl RefUnwindSafe for GPUContext
impl Send for GPUContext
impl Sync for GPUContext
impl Unpin for GPUContext
impl UnsafeUnpin for GPUContext
impl UnwindSafe for GPUContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more