[]
ID3D11Resource
[Guid("dc8e63f3-d12b-4952-b47b-5e45026a862d")]
public class Resource : DeviceChild, IDisposable, IUnknown
| Name | Description |
|---|---|
| Resource(IntPtr) | Initializes a new instance of the Resource class. |
| Name | Description |
|---|---|
| MaximumMipLevels | Constant MaximumMipLevels. |
| MaximumTexture1DArraySize | Constant MaximumTexture1DArraySize. |
| MaximumTexture1DSize | Constant MaximumTexture1DSize. |
| MaximumTexture2DArraySize | Constant MaximumTexture2DArraySize. |
| MaximumTexture2DSize | Constant MaximumTexture2DSize. |
| MaximumTexture3DSize | Constant MaximumTexture3DSize. |
| MaximumTextureCubeSize | Constant MaximumTextureCubeSize. |
| ResourceSizeInMegabytes | Constant ResourceSizeInMegabytes. |
| Name | Description |
|---|---|
| CalculateMipSize(int, int) | Calculates the resulting size at a single level for an original size. |
| CalculateSubResourceIndex(int, int, out int) | Calculates the sub resource index for a particular mipSlice and arraySlice. |
| FromSwapChain<T>(SwapChain, int) | Gets a swap chain back buffer. |
| GetDimension() | void ID3D11Resource::GetType([Out] D3D11_RESOURCE_DIMENSION* pResourceDimension) |
| GetEvictionPriority() | unsigned int ID3D11Resource::GetEvictionPriority() |
| SetEvictionPriority(int) | void ID3D11Resource::SetEvictionPriority([In] unsigned int EvictionPriority) |
| SubResourceIndexFromMipLevel(int, int, int) | Calculates the sub resource index from a miplevel. |
| Name | Description |
|---|---|
| explicit operator Resource(IntPtr) |