Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::ResolveTextureSubresourceAttribs Struct Reference

Describes multi-sampled texture resolve command arguments. More...

#include <DeviceContext.h>

Public Attributes

Uint32 SrcMipLevel = 0
 Mip level of the source multi-sampled texture to resolve.
 
Uint32 SrcSlice = 0
 Array slice of the source multi-sampled texture to resolve.
 
RESOURCE_STATE_TRANSITION_MODE SrcTextureTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE
 Source texture state transition mode, see Diligent::RESOURCE_STATE_TRANSITION_MODE.
 
Uint32 DstMipLevel = 0
 Mip level of the destination non-multi-sampled texture.
 
Uint32 DstSlice = 0
 Array slice of the destination non-multi-sampled texture.
 
RESOURCE_STATE_TRANSITION_MODE DstTextureTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE
 Destination texture state transition mode, see Diligent::RESOURCE_STATE_TRANSITION_MODE.
 
TEXTURE_FORMAT Format = TEX_FORMAT_UNKNOWN
 If one or both textures are typeless, specifies the type of the typeless texture.
 

Detailed Description

Describes multi-sampled texture resolve command arguments.

This structure is used by IDeviceContext::ResolveTextureSubresource().

Member Data Documentation

◆ Format

TEXTURE_FORMAT Diligent::ResolveTextureSubresourceAttribs::Format = TEX_FORMAT_UNKNOWN

If one or both textures are typeless, specifies the type of the typeless texture.

If both texture formats are not typeless, in which case they must be identical, this member must be either TEX_FORMAT_UNKNOWN, or match this format.