Diligent Engine  v.2.4.g
Classes | Functions | Variables
d3dx12_win.h File Reference
#include "d3d12.h"

Go to the source code of this file.

Classes

struct  CD3DX12_DEFAULT
 
struct  CD3DX12_RECT
 
struct  CD3DX12_BOX
 
struct  CD3DX12_DEPTH_STENCIL_DESC
 
struct  CD3DX12_BLEND_DESC
 
struct  CD3DX12_RASTERIZER_DESC
 
struct  CD3DX12_RESOURCE_ALLOCATION_INFO
 
struct  CD3DX12_HEAP_PROPERTIES
 
struct  CD3DX12_HEAP_DESC
 
struct  CD3DX12_CLEAR_VALUE
 
struct  CD3DX12_RANGE
 
struct  CD3DX12_TILED_RESOURCE_COORDINATE
 
struct  CD3DX12_TILE_REGION_SIZE
 
struct  CD3DX12_SUBRESOURCE_TILING
 
struct  CD3DX12_TILE_SHAPE
 
struct  CD3DX12_RESOURCE_BARRIER
 
struct  CD3DX12_PACKED_MIP_INFO
 
struct  CD3DX12_SUBRESOURCE_FOOTPRINT
 
struct  CD3DX12_TEXTURE_COPY_LOCATION
 
struct  CD3DX12_DESCRIPTOR_RANGE
 
struct  CD3DX12_ROOT_DESCRIPTOR_TABLE
 
struct  CD3DX12_ROOT_CONSTANTS
 
struct  CD3DX12_ROOT_DESCRIPTOR
 
struct  CD3DX12_ROOT_PARAMETER
 
struct  CD3DX12_STATIC_SAMPLER_DESC
 
struct  CD3DX12_ROOT_SIGNATURE_DESC
 
struct  CD3DX12_CPU_DESCRIPTOR_HANDLE
 
struct  CD3DX12_GPU_DESCRIPTOR_HANDLE
 
struct  CD3DX12_RESOURCE_DESC
 

Functions

bool operator== (const D3D12_VIEWPORT &l, const D3D12_VIEWPORT &r)
 
bool operator!= (const D3D12_VIEWPORT &l, const D3D12_VIEWPORT &r)
 
bool operator== (const D3D12_BOX &l, const D3D12_BOX &r)
 
bool operator!= (const D3D12_BOX &l, const D3D12_BOX &r)
 
bool operator== (const D3D12_HEAP_PROPERTIES &l, const D3D12_HEAP_PROPERTIES &r)
 
bool operator!= (const D3D12_HEAP_PROPERTIES &l, const D3D12_HEAP_PROPERTIES &r)
 
bool operator== (const D3D12_HEAP_DESC &l, const D3D12_HEAP_DESC &r)
 
bool operator!= (const D3D12_HEAP_DESC &l, const D3D12_HEAP_DESC &r)
 
UINT D3D12CalcSubresource (UINT MipSlice, UINT ArraySlice, UINT PlaneSlice, UINT MipLevels, UINT ArraySize)
 
template<typename T , typename U , typename V >
void D3D12DecomposeSubresource (UINT Subresource, UINT MipLevels, UINT ArraySize, _Out_ T &MipSlice, _Out_ U &ArraySlice, _Out_ V &PlaneSlice)
 
UINT8 D3D12GetFormatPlaneCount (_In_ ID3D12Device *pDevice, DXGI_FORMAT Format)
 
bool operator== (const D3D12_RESOURCE_DESC &l, const D3D12_RESOURCE_DESC &r)
 
bool operator!= (const D3D12_RESOURCE_DESC &l, const D3D12_RESOURCE_DESC &r)
 
void MemcpySubresource (_In_ const D3D12_MEMCPY_DEST *pDest, _In_ const D3D12_SUBRESOURCE_DATA *pSrc, SIZE_T RowSizeInBytes, UINT NumRows, UINT NumSlices)
 
UINT64 GetRequiredIntermediateSize (_In_ ID3D12Resource *pDestinationResource, _In_range_(0, D3D12_REQ_SUBRESOURCES) UINT FirstSubresource, _In_range_(0, D3D12_REQ_SUBRESOURCES - FirstSubresource) UINT NumSubresources)
 
UINT64 UpdateSubresources (_In_ ID3D12GraphicsCommandList *pCmdList, _In_ ID3D12Resource *pDestinationResource, _In_ ID3D12Resource *pIntermediate, _In_range_(0, D3D12_REQ_SUBRESOURCES) UINT FirstSubresource, _In_range_(0, D3D12_REQ_SUBRESOURCES - FirstSubresource) UINT NumSubresources, UINT64 RequiredSize, _In_reads_(NumSubresources) const D3D12_PLACED_SUBRESOURCE_FOOTPRINT *pLayouts, _In_reads_(NumSubresources) const UINT *pNumRows, _In_reads_(NumSubresources) const UINT64 *pRowSizesInBytes, _In_reads_(NumSubresources) const D3D12_SUBRESOURCE_DATA *pSrcData)
 
UINT64 UpdateSubresources (_In_ ID3D12GraphicsCommandList *pCmdList, _In_ ID3D12Resource *pDestinationResource, _In_ ID3D12Resource *pIntermediate, UINT64 IntermediateOffset, _In_range_(0, D3D12_REQ_SUBRESOURCES) UINT FirstSubresource, _In_range_(0, D3D12_REQ_SUBRESOURCES - FirstSubresource) UINT NumSubresources, _In_reads_(NumSubresources) D3D12_SUBRESOURCE_DATA *pSrcData)
 
template<UINT MaxSubresources>
UINT64 UpdateSubresources (_In_ ID3D12GraphicsCommandList *pCmdList, _In_ ID3D12Resource *pDestinationResource, _In_ ID3D12Resource *pIntermediate, UINT64 IntermediateOffset, _In_range_(0, MaxSubresources) UINT FirstSubresource, _In_range_(1, MaxSubresources - FirstSubresource) UINT NumSubresources, _In_reads_(NumSubresources) D3D12_SUBRESOURCE_DATA *pSrcData)
 
bool D3D12IsLayoutOpaque (D3D12_TEXTURE_LAYOUT Layout)
 
ID3D12CommandList *const * CommandListCast (ID3D12GraphicsCommandList *const *pp)
 

Variables

const DECLSPEC_SELECTANY CD3DX12_DEFAULT D3D12_DEFAULT
 

Function Documentation

◆ CommandListCast()

ID3D12CommandList* const* CommandListCast ( ID3D12GraphicsCommandList *const *  pp)
inline

◆ D3D12CalcSubresource()

UINT D3D12CalcSubresource ( UINT  MipSlice,
UINT  ArraySlice,
UINT  PlaneSlice,
UINT  MipLevels,
UINT  ArraySize 
)
inline

◆ D3D12DecomposeSubresource()

template<typename T , typename U , typename V >
void D3D12DecomposeSubresource ( UINT  Subresource,
UINT  MipLevels,
UINT  ArraySize,
_Out_ T &  MipSlice,
_Out_ U &  ArraySlice,
_Out_ V &  PlaneSlice 
)
inline

◆ D3D12GetFormatPlaneCount()

UINT8 D3D12GetFormatPlaneCount ( _In_ ID3D12Device *  pDevice,
DXGI_FORMAT  Format 
)
inline

◆ D3D12IsLayoutOpaque()

bool D3D12IsLayoutOpaque ( D3D12_TEXTURE_LAYOUT  Layout)
inline

◆ GetRequiredIntermediateSize()

UINT64 GetRequiredIntermediateSize ( _In_ ID3D12Resource *  pDestinationResource,
_In_range_(0, D3D12_REQ_SUBRESOURCES) UINT  FirstSubresource,
_In_range_(0, D3D12_REQ_SUBRESOURCES - FirstSubresource) UINT  NumSubresources 
)
inline

◆ MemcpySubresource()

void MemcpySubresource ( _In_ const D3D12_MEMCPY_DEST *  pDest,
_In_ const D3D12_SUBRESOURCE_DATA *  pSrc,
SIZE_T  RowSizeInBytes,
UINT  NumRows,
UINT  NumSlices 
)
inline

◆ operator!=() [1/5]

bool operator!= ( const D3D12_BOX &  l,
const D3D12_BOX &  r 
)
inline

◆ operator!=() [2/5]

bool operator!= ( const D3D12_HEAP_DESC &  l,
const D3D12_HEAP_DESC &  r 
)
inline

◆ operator!=() [3/5]

bool operator!= ( const D3D12_HEAP_PROPERTIES &  l,
const D3D12_HEAP_PROPERTIES &  r 
)
inline

◆ operator!=() [4/5]

bool operator!= ( const D3D12_RESOURCE_DESC &  l,
const D3D12_RESOURCE_DESC &  r 
)
inline

◆ operator!=() [5/5]

bool operator!= ( const D3D12_VIEWPORT &  l,
const D3D12_VIEWPORT &  r 
)
inline

◆ operator==() [1/5]

bool operator== ( const D3D12_BOX &  l,
const D3D12_BOX &  r 
)
inline

◆ operator==() [2/5]

bool operator== ( const D3D12_HEAP_DESC &  l,
const D3D12_HEAP_DESC &  r 
)
inline

◆ operator==() [3/5]

bool operator== ( const D3D12_HEAP_PROPERTIES &  l,
const D3D12_HEAP_PROPERTIES &  r 
)
inline

◆ operator==() [4/5]

bool operator== ( const D3D12_RESOURCE_DESC &  l,
const D3D12_RESOURCE_DESC &  r 
)
inline

◆ operator==() [5/5]

bool operator== ( const D3D12_VIEWPORT &  l,
const D3D12_VIEWPORT &  r 
)
inline

◆ UpdateSubresources() [1/3]

UINT64 UpdateSubresources ( _In_ ID3D12GraphicsCommandList *  pCmdList,
_In_ ID3D12Resource *  pDestinationResource,
_In_ ID3D12Resource *  pIntermediate,
_In_range_(0, D3D12_REQ_SUBRESOURCES) UINT  FirstSubresource,
_In_range_(0, D3D12_REQ_SUBRESOURCES - FirstSubresource) UINT  NumSubresources,
UINT64  RequiredSize,
_In_reads_(NumSubresources) const D3D12_PLACED_SUBRESOURCE_FOOTPRINT *  pLayouts,
_In_reads_(NumSubresources) const UINT *  pNumRows,
_In_reads_(NumSubresources) const UINT64 *  pRowSizesInBytes,
_In_reads_(NumSubresources) const D3D12_SUBRESOURCE_DATA *  pSrcData 
)
inline

◆ UpdateSubresources() [2/3]

UINT64 UpdateSubresources ( _In_ ID3D12GraphicsCommandList *  pCmdList,
_In_ ID3D12Resource *  pDestinationResource,
_In_ ID3D12Resource *  pIntermediate,
UINT64  IntermediateOffset,
_In_range_(0, D3D12_REQ_SUBRESOURCES) UINT  FirstSubresource,
_In_range_(0, D3D12_REQ_SUBRESOURCES - FirstSubresource) UINT  NumSubresources,
_In_reads_(NumSubresources) D3D12_SUBRESOURCE_DATA *  pSrcData 
)
inline

◆ UpdateSubresources() [3/3]

template<UINT MaxSubresources>
UINT64 UpdateSubresources ( _In_ ID3D12GraphicsCommandList *  pCmdList,
_In_ ID3D12Resource *  pDestinationResource,
_In_ ID3D12Resource *  pIntermediate,
UINT64  IntermediateOffset,
_In_range_(0, MaxSubresources) UINT  FirstSubresource,
_In_range_(1, MaxSubresources - FirstSubresource) UINT  NumSubresources,
_In_reads_(NumSubresources) D3D12_SUBRESOURCE_DATA *  pSrcData 
)
inline

Variable Documentation

◆ D3D12_DEFAULT

const DECLSPEC_SELECTANY CD3DX12_DEFAULT D3D12_DEFAULT