#[repr(C)]pub struct cudaResourceViewDesc {
pub format: cudaResourceViewFormat,
pub width: size_t,
pub height: size_t,
pub depth: size_t,
pub firstMipmapLevel: c_uint,
pub lastMipmapLevel: c_uint,
pub firstLayer: c_uint,
pub lastLayer: c_uint,
pub reserved: [c_uint; 16],
}Expand description
CUDA resource view descriptor.
Fields§
§format: cudaResourceViewFormatResource view format.
width: size_tWidth of the resource view.
height: size_tHeight of the resource view.
depth: size_tDepth of the resource view.
firstMipmapLevel: c_uintFirst defined mipmap level.
lastMipmapLevel: c_uintLast defined mipmap level.
firstLayer: c_uintFirst layer index.
lastLayer: c_uintLast layer index.
reserved: [c_uint; 16]Must be zero.
Trait Implementations§
Auto Trait Implementations§
impl Forget for cudaResourceViewDesc
impl Freeze for cudaResourceViewDesc
impl Move for cudaResourceViewDesc
impl RefUnwindSafe for cudaResourceViewDesc
impl Send for cudaResourceViewDesc
impl Sync for cudaResourceViewDesc
impl Unpin for cudaResourceViewDesc
impl UnsafeUnpin for cudaResourceViewDesc
impl UnwindSafe for cudaResourceViewDesc
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