語法
class XGTextureAddressComputer
方法
| 方法 | 描述 |
|---|---|
| XGTextureAddressComputer::AddRef | 遞增參考計數並傳回新值。 |
| XGTextureAddressComputer::CopyFromSubresource | 將 2D 或 3D 資料從資源的指定子資源 (mip + 切片) 複製到線性目的地。 |
| XGTextureAddressComputer::CopyIntoSubresource | 使用 pTiledResourceBaseAddress 作為資源的基底位址,將 2D 或 3D 線性輸入資料複製到資源的指定子資源 (mip + 切片)。 |
| XGTextureAddressComputer::GetMipLevelOffsetBytes | 計算指定平面上指定 mip 層級相對於資源基底位址的位移 (以位元組為單位)。 |
| XGTextureAddressComputer::GetResourceBaseAlignmentBytes | 取得資源的基底對齊 (以位元組為單位)。 |
| XGTextureAddressComputer::GetResourceLayout | 傳回為此紋理資源計算出的 XG_RESOURCE_LAYOUT 值。 |
| XGTextureAddressComputer::GetResourceSizeBytes | 取得資源大小 (以位元組為單位)。 |
| XGTextureAddressComputer::GetResourceSizePages | 以分頁數目取得資源大小。 |
| XGTextureAddressComputer::GetResourceTiling | 如果資源是使用 XG_RESOURCE_MISC_TILED 旗標建立為並排資源,則傳回資源並排配置。 |
| XGTextureAddressComputer::GetTexelCoordinate | 計算相對於資源基底位址之指定位移的紋素元素座標。 |
| XGTextureAddressComputer::GetTexelElementOffsetBytes | 計算指定紋素元素相對於資源基底位址的位移 (以位元組為單位)。 |
| XGTextureAddressComputer::GetTextureViewDescriptor | 傳回指定平面的紋理檢視描述元。 |
| XGTextureAddressComputer::Release | 遞減參考計數並傳回新值。如果新值為零,則會刪除該物件。 |
