Enum tracy_client::GpuContextType
source · #[repr(u8)]pub enum GpuContextType {
Invalid = 0,
OpenGL = 1,
Vulkan = 2,
OpenCL = 3,
Direct3D12 = 4,
Direct3D11 = 5,
}
Expand description
The API label associated with the given gpu context. The list here only includes APIs that are currently supported by Tracy’s own gpu implementations.
Variants§
Invalid = 0
Stand in for other types of contexts.
OpenGL = 1
An OpenGL context
Vulkan = 2
A Vulkan context
OpenCL = 3
An OpenCL context
Direct3D12 = 4
A D3D12 context.
Direct3D11 = 5
A D3D11 context.
Auto Trait Implementations§
impl Freeze for GpuContextType
impl RefUnwindSafe for GpuContextType
impl Send for GpuContextType
impl Sync for GpuContextType
impl Unpin for GpuContextType
impl UnwindSafe for GpuContextType
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