Table of Contents

Struct CudaTextureResourceViewSnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Contains a copied CUDA texture resource-view descriptor. 包含复制型 CUDA texture resource-view descriptor。

public readonly struct CudaTextureResourceViewSnapshot
Inherited Members

Properties

Depth

Gets the resource-view depth. 获取 resource-view 深度。

public ulong Depth { get; }

Property Value

ulong

FirstLayer

Gets the first visible array layer. 获取第一个可见 array layer。

public uint FirstLayer { get; }

Property Value

uint

FirstMipmapLevel

Gets the first visible mipmap level. 获取第一个可见 mipmap level。

public uint FirstMipmapLevel { get; }

Property Value

uint

Format

Gets the copied resource-view format. 获取复制的 resource-view 格式。

public CudaTextureResourceViewFormat Format { get; }

Property Value

CudaTextureResourceViewFormat

Height

Gets the resource-view height. 获取 resource-view 高度。

public ulong Height { get; }

Property Value

ulong

IsSpecified

Gets whether creation supplied an explicit resource-view descriptor. 获取创建时是否提供了显式 resource-view descriptor。

public bool IsSpecified { get; }

Property Value

bool

LastLayer

Gets the last visible array layer. 获取最后一个可见 array layer。

public uint LastLayer { get; }

Property Value

uint

LastMipmapLevel

Gets the last visible mipmap level. 获取最后一个可见 mipmap level。

public uint LastMipmapLevel { get; }

Property Value

uint

Width

Gets the resource-view width. 获取 resource-view 宽度。

public ulong Width { get; }

Property Value

ulong

Methods

ToString()

Formats the copied resource view for diagnostics. 格式化复制型 resource view 以供诊断。

public override string ToString()

Returns

string