Defines copy texture command attributes. More...
#include <DeviceContext.h>
Public Attributes | |
| ITexture * | pSrcTexture = nullptr |
| Source texture to copy data from. | |
| Uint32 | SrcMipLevel = 0 |
| Mip level of the source texture to copy data from. | |
| Uint32 | SrcSlice = 0 |
| Array slice of the source texture to copy data from. Must be 0 for non-array textures. | |
| const Box * | pSrcBox = nullptr |
| Source region to copy. Use nullptr to copy the entire subresource. | |
| RESOURCE_STATE_TRANSITION_MODE | SrcTextureTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE |
| Source texture state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE). | |
| ITexture * | pDstTexture = nullptr |
| Destination texture. | |
| Uint32 | DstMipLevel = 0 |
| Destination mip level. | |
| Uint32 | DstSlice = 0 |
| Destination array slice. Must be 0 for non-array textures. | |
| Uint32 | DstX = 0 |
| X offset on the destination subresource. | |
| Uint32 | DstY = 0 |
| Y offset on the destination subresource. | |
| Uint32 | DstZ = 0 |
| Z offset on the destination subresource. | |
| RESOURCE_STATE_TRANSITION_MODE | DstTextureTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE |
| Destination texture state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE). | |
Defines copy texture command attributes.
This structure is used by IDeviceContext::CopyTexture().