Go to the documentation of this file.
33 #include "../../GraphicsEngine/interface/GraphicsTypes.h"
34 #include "../../GraphicsEngine/interface/Shader.h"
35 #include "../../GraphicsEngine/interface/Texture.h"
36 #include "../../GraphicsEngine/interface/Buffer.h"
37 #include "../../GraphicsEngine/interface/RenderDevice.h"
38 #include "../../../Platforms/Basic/interface/DebugUtilities.hpp"
39 #include "../../../Platforms/interface/PlatformMisc.hpp"
45 template <VALUE_TYPE ValType>
132 static const Uint32 ValueTypeToSizeMap[] =
152 return ValueTypeToSizeMap[Val];
354 template <
typename TObjectDescType>
373 String Str{
"Buff desc: "};
437 return PlatformMisc::GetLSB(
Type);
447 return PlatformMisc::GetLSB(Stages);
457 const auto StageIndex = PlatformMisc::GetLSB(Stages);
458 Stages &= ~static_cast<SHADER_TYPE>(1u << StageIndex);
463 static_assert(
SHADER_TYPE_LAST == 0x2000,
"Please add the new shader type index below");
465 static constexpr
Int32 VSInd = 0;
466 static constexpr
Int32 PSInd = 1;
467 static constexpr
Int32 GSInd = 2;
468 static constexpr
Int32 HSInd = 3;
469 static constexpr
Int32 DSInd = 4;
470 static constexpr
Int32 CSInd = 5;
471 static constexpr
Int32 ASInd = 6;
472 static constexpr
Int32 MSInd = 7;
473 static constexpr
Int32 RGSInd = 8;
474 static constexpr
Int32 RMSInd = 9;
475 static constexpr
Int32 RCHSInd = 10;
476 static constexpr
Int32 RAHSInd = 11;
477 static constexpr
Int32 RISInd = 12;
478 static constexpr
Int32 RCSInd = 13;
480 static constexpr
Int32 LastShaderInd = RCSInd;
483 static_assert(
SHADER_TYPE_VERTEX == (1 << VSInd),
"VSInd is not consistent with SHADER_TYPE_VERTEX");
484 static_assert(
SHADER_TYPE_PIXEL == (1 << PSInd),
"PSInd is not consistent with SHADER_TYPE_PIXEL");
485 static_assert(
SHADER_TYPE_GEOMETRY == (1 << GSInd),
"GSInd is not consistent with SHADER_TYPE_GEOMETRY");
486 static_assert(
SHADER_TYPE_HULL == (1 << HSInd),
"HSInd is not consistent with SHADER_TYPE_HULL");
487 static_assert(
SHADER_TYPE_DOMAIN == (1 << DSInd),
"DSInd is not consistent with SHADER_TYPE_DOMAIN");
488 static_assert(
SHADER_TYPE_COMPUTE == (1 << CSInd),
"CSInd is not consistent with SHADER_TYPE_COMPUTE");
490 static_assert(
SHADER_TYPE_MESH == (1 << MSInd),
"MSInd is not consistent with SHADER_TYPE_MESH");
491 static_assert(
SHADER_TYPE_RAY_GEN == (1 << RGSInd),
"RGSInd is not consistent with SHADER_TYPE_RAY_GEN");
492 static_assert(
SHADER_TYPE_RAY_MISS == (1 << RMSInd),
"RMSInd is not consistent with SHADER_TYPE_RAY_MISS");
494 static_assert(
SHADER_TYPE_RAY_ANY_HIT == (1 << RAHSInd),
"RAHSInd is not consistent with SHADER_TYPE_RAY_ANY_HIT");
496 static_assert(
SHADER_TYPE_CALLABLE == (1 << RCSInd),
"RCSInd is not consistent with SHADER_TYPE_CALLABLE");
498 static_assert(
SHADER_TYPE_LAST == (1 << LastShaderInd),
"LastShaderInd is not consistent with SHADER_TYPE_LAST");
503 VERIFY(Index >= 0 && Index <= LastShaderInd,
"Shader type index is out of range");
601 Uint32 RowStrideAlignment);
624 VERIFY(ArrayIndex < ArraySize,
"Array index is out of range");
628 PrintName.push_back(
'[');
629 PrintName.append(std::to_string(ArrayIndex));
630 PrintName.push_back(
']');
635 template <
typename DescType>
const char * GetSurfaceTransformString(SURFACE_TRANSFORM SrfTransform)
Definition: GraphicsAccessories.cpp:1119
String GetCPUAccessFlagsString(Uint32 CpuAccessFlags)
Returns the string containing the CPU access flags.
Definition: GraphicsAccessories.cpp:891
@ SHADER_TYPE_AMPLIFICATION
Amplification (task) shader.
Definition: GraphicsTypes.h:74
int16_t Int16
16-bit signed integer
Definition: BasicTypes.h:47
Int32 ExtractFirstShaderStageIndex(SHADER_TYPE &Stages)
Definition: GraphicsAccessories.hpp:450
@ SHADER_TYPE_RAY_GEN
Ray generation shader.
Definition: GraphicsTypes.h:76
@ VT_UINT32
Unsigned 32-bit integer.
Definition: GraphicsTypes.h:57
char Char
Definition: BasicTypes.h:64
@ VT_INT8
Signed 8-bit integer.
Definition: GraphicsTypes.h:52
struct TextureDesc TextureDesc
Definition: Texture.h:162
String GetObjectDescString(const TObjectDescType &)
Helper template function that converts object description into a string.
Definition: GraphicsAccessories.hpp:355
TEXTURE_FORMAT Format
Texture format, see Diligent::TEXTURE_FORMAT.
Definition: Texture.h:68
SHADER_TYPE GetShaderTypeFromIndex(Int32 Index)
Definition: GraphicsAccessories.hpp:501
@ SHADER_TYPE_DOMAIN
Domain (tessellation evaluation) shader.
Definition: GraphicsTypes.h:72
@ SHADER_TYPE_LAST
Definition: GraphicsTypes.h:82
SHADER_TYPE
Describes the shader type.
Definition: GraphicsTypes.h:65
USAGE
Resource usage.
Definition: GraphicsTypes.h:143
const Char * GetStencilOpLiteralName(STENCIL_OP StencilOp)
Returns the literal name of a stencil operation.
Definition: GraphicsAccessories.cpp:641
SHADER_RESOURCE_TYPE
Describes shader resource type.
Definition: Shader.h:356
TEXTURE_ADDRESS_MODE
Texture address mode.
Definition: GraphicsTypes.h:889
Uint32 LogicalWidth
Definition: GraphicsAccessories.hpp:414
Template structure to convert VALUE_TYPE enumeration into C-type.
Definition: GraphicsAccessories.hpp:46
Uint32 Flags
Definition: DXBCUtils.cpp:71
String GetTextureDescString(const TextureDesc &Desc)
Returns the string containing the texture description.
Definition: GraphicsAccessories.cpp:920
Uint32 DepthSliceSize
Definition: GraphicsAccessories.hpp:420
Uint32 ComputeMipLevelsCount(Uint32 Width)
Definition: GraphicsAccessories.cpp:1252
String GetBufferFormatString(const BufferFormat &Fmt)
Returns the string containing the buffer format description.
Definition: GraphicsAccessories.cpp:992
const Char * GetComparisonFunctionLiteralName(COMPARISON_FUNCTION ComparisonFunc, bool bGetFullName)
Returns the literal name of a comparison function. For instance, for COMPARISON_FUNC_LESS,...
Definition: GraphicsAccessories.cpp:619
void CopyTextureSubresource(const TextureSubResData &SrcSubres, Uint32 NumRows, Uint32 NumDepthSlices, Uint32 RowSize, void *pDstData, Uint32 DstRowStride, Uint32 DstDepthStride)
Copies texture subresource data on the CPU.
Definition: GraphicsAccessories.cpp:1672
PIPELINE_TYPE
Pipeline type.
Definition: PipelineState.h:295
float Float32
32-bit float
Definition: BasicTypes.h:43
FILTER_TYPE
Filter type.
Definition: GraphicsTypes.h:864
Uint32 RowCount
The number of rows in the region. For compressed formats, this is the number of compressed-block rows...
Definition: GraphicsAccessories.hpp:587
Uint8 CType
Definition: GraphicsAccessories.hpp:86
Uint32 StorageWidth
Definition: GraphicsAccessories.hpp:416
const char * GetQueryTypeString(QUERY_TYPE QueryType)
Definition: GraphicsAccessories.cpp:1100
const Char * GetViewTypeLiteralName(TEXTURE_VIEW_TYPE TexViewType)
Overloaded function that returns the literal name of a texture view type. see GetTexViewTypeLiteralNa...
Definition: GraphicsAccessories.hpp:244
FILL_MODE
Fill mode.
Definition: RasterizerState.h:46
Uint32 CType
Definition: GraphicsAccessories.hpp:106
@ VT_INT32
Signed 32-bit integer.
Definition: GraphicsTypes.h:54
Box Region
Texture region.
Definition: GraphicsAccessories.hpp:596
@ SHADER_TYPE_COMPUTE
Compute shader.
Definition: GraphicsTypes.h:73
@ VT_NUM_TYPES
Helper value storing total number of types in the enumeration.
Definition: GraphicsTypes.h:60
ADAPTER_VENDOR VendorIdToAdapterVendor(Uint32 VendorId)
Definition: GraphicsAccessories.cpp:1371
Box.
Definition: GraphicsTypes.h:2407
Int32 CType
Definition: GraphicsAccessories.hpp:76
TEXTURE_VIEW_TYPE
Texture view type.
Definition: GraphicsTypes.h:274
@ SHADER_TYPE_RAY_ANY_HIT
Ray any hit shader.
Definition: GraphicsTypes.h:79
Uint32 MemorySize
Total memory size required to store the pixels in the region.
Definition: GraphicsAccessories.hpp:593
const Char * GetTexViewTypeLiteralName(TEXTURE_VIEW_TYPE ViewType)
Returns the literal name of a texture view type. For instance, for a shader resource view,...
Definition: GraphicsAccessories.cpp:408
const Char * GetBlendOperationLiteralName(BLEND_OPERATION BlendOp)
Returns the literal name of a blend operation.
Definition: GraphicsAccessories.cpp:700
TEXTURE_FORMAT GetDefaultTextureViewFormat(TEXTURE_FORMAT TextureFormat, TEXTURE_VIEW_TYPE ViewType, Uint32 BindFlags)
Returns the default format for a specified texture view type.
Definition: GraphicsAccessories.cpp:244
Uint32 MipSize
Definition: GraphicsAccessories.hpp:421
@ FILTER_TYPE_MINIMUM_ANISOTROPIC
Minimum-anisotropic filtering (DX12 only)
Definition: GraphicsTypes.h:875
Uint32 GetValueSize(VALUE_TYPE Val)
Returns the size of the specified value type.
Definition: GraphicsAccessories.hpp:149
String GetShaderResourcePrintName(const char *Name, Uint32 ArraySize, Uint32 ArrayIndex)
Definition: GraphicsAccessories.hpp:622
Uint32 GetStagingTextureLocationOffset(const TextureDesc &TexDesc, Uint32 ArraySlice, Uint32 MipLevel, Uint32 Alignment, Uint32 LocationX, Uint32 LocationY, Uint32 LocationZ)
Returns an offset from the beginning of the buffer backing a staging texture to the specified locatio...
Definition: GraphicsAccessories.cpp:1559
@ SHADER_TYPE_RAY_CLOSEST_HIT
Ray closest hit shader.
Definition: GraphicsTypes.h:78
Describes the mip level properties.
Definition: GraphicsAccessories.hpp:412
BLEND_FACTOR
Blend factors.
Definition: BlendState.h:50
bool IsComparisonFilter(FILTER_TYPE FilterType)
Definition: GraphicsAccessories.hpp:394
Uint32 DepthStride
Depth stride (RowStride * RowCount)
Definition: GraphicsAccessories.hpp:590
int32_t Int32
32-bit signed integer
Definition: BasicTypes.h:46
@ FILTER_TYPE_COMPARISON_LINEAR
Comparison-linear filtering.
Definition: GraphicsTypes.h:871
const Char * GetValueTypeString(VALUE_TYPE Val)
Returns the string representing the specified value type.
Definition: GraphicsAccessories.cpp:38
int8_t Int8
8-bit signed integer
Definition: BasicTypes.h:48
SURFACE_TRANSFORM
The transform applied to the image content prior to presentation.
Definition: GraphicsTypes.h:1315
Texture description.
Definition: Texture.h:47
String GetResourceStateString(RESOURCE_STATE State)
Definition: GraphicsAccessories.cpp:1080
ADAPTER_VENDOR
Graphics adapter vendor.
Definition: GraphicsTypes.h:1754
@ VT_FLOAT16
Half-precision 16-bit floating point.
Definition: GraphicsTypes.h:58
const Char * GetBlendFactorLiteralName(BLEND_FACTOR BlendFactor)
Returns the literal name of a blend factor.
Definition: GraphicsAccessories.cpp:666
@ VT_UINT16
Unsigned 16-bit integer.
Definition: GraphicsTypes.h:56
@ SHADER_TYPE_PIXEL
Pixel (fragment) shader.
Definition: GraphicsTypes.h:69
const Char * GetFilterTypeLiteralName(FILTER_TYPE FilterType, bool bGetFullName)
Returns the literal name of a filter type. For instance, for FILTER_TYPE_POINT, if bGetFullName == tr...
Definition: GraphicsAccessories.cpp:574
CULL_MODE
Cull mode.
Definition: RasterizerState.h:69
struct TextureFormatAttribs TextureFormatAttribs
Definition: GraphicsTypes.h:2542
const Char * GetResourceStateFlagString(RESOURCE_STATE State)
Returns the string containing the buffer mode description.
Definition: GraphicsAccessories.cpp:1045
bool IsAnisotropicFilter(FILTER_TYPE FilterType)
Definition: GraphicsAccessories.hpp:401
bool IsConsistentShaderType(SHADER_TYPE ShaderType, PIPELINE_TYPE PipelineType)
Definition: GraphicsAccessories.cpp:1388
const Char * GetMapTypeString(MAP_TYPE MapType)
Returns the string containing the map type.
Definition: GraphicsAccessories.cpp:761
VALUE_TYPE
Value type.
Definition: GraphicsTypes.h:49
String GetBufferDescString(const BufferDesc &Desc)
Returns the string containing the buffer description.
Definition: GraphicsAccessories.cpp:1003
struct BufferDesc BufferDesc
Definition: Buffer.h:152
Int32 GetShaderTypePipelineIndex(SHADER_TYPE ShaderType, PIPELINE_TYPE PipelineType)
Definition: GraphicsAccessories.cpp:1422
const Char * GetUsageString(USAGE Usage)
Returns the string containing the usage.
Definition: GraphicsAccessories.cpp:776
@ SHADER_TYPE_RAY_MISS
Ray miss shader.
Definition: GraphicsTypes.h:77
const D3D12_PIPELINE_STATE_SUBOBJECT_TYPE Type
Definition: PipelineStateD3D12Impl.cpp:69
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
VALUE_TYPE2CType<> template specialization for 32-bit integer value type.
Definition: GraphicsAccessories.hpp:74
@ SHADER_TYPE_HULL
Hull (tessellation control) shader.
Definition: GraphicsTypes.h:71
Uint32 StorageHeight
Definition: GraphicsAccessories.hpp:417
@ SHADER_TYPE_UNKNOWN
Unknown shader type.
Definition: GraphicsTypes.h:67
COMPARISON_FUNCTION
Comparison function.
Definition: GraphicsTypes.h:931
@ SHADER_TYPE_RAY_INTERSECTION
Ray intersection shader.
Definition: GraphicsTypes.h:80
Information required to perform a copy operation between a buffer and a texture.
Definition: GraphicsAccessories.hpp:572
bool VerifyResourceStates(RESOURCE_STATE State, bool IsTexture)
Definition: GraphicsAccessories.cpp:1274
const char * GetShaderCompilerTypeString(SHADER_COMPILER Compiler)
Definition: GraphicsAccessories.cpp:1162
@ SHADER_TYPE_GEOMETRY
Geometry shader.
Definition: GraphicsTypes.h:70
Uint32 RowSize
Definition: GraphicsAccessories.hpp:419
Uint32 RowStride
Row stride, in bytes. The stride is computed by aligning the RowSize, and is thus always >= RowSize.
Definition: GraphicsAccessories.hpp:580
Uint32 RowSize
Texture region row size, in bytes. For compressed formats, this is the size of one row of compressed ...
Definition: GraphicsAccessories.hpp:576
Int32 GetFirstShaderStageIndex(SHADER_TYPE Stages)
Definition: GraphicsAccessories.hpp:440
@ SHADER_TYPE_CALLABLE
Callable shader.
Definition: GraphicsTypes.h:81
@ FILTER_TYPE_ANISOTROPIC
Anisotropic filtering.
Definition: GraphicsTypes.h:869
Int8 CType
Definition: GraphicsAccessories.hpp:56
BUFFER_MODE
Describes the buffer access mode.
Definition: Buffer.h:48
TEXTURE_FORMAT
Texture formats.
Definition: GraphicsTypes.h:328
Int32 GetShaderTypeIndex(SHADER_TYPE Type)
Definition: GraphicsAccessories.hpp:429
String GetShaderStagesString(SHADER_TYPE ShaderStages)
Definition: GraphicsAccessories.cpp:507
SHADER_TYPE GetShaderTypeFromPipelineIndex(Int32 Index, PIPELINE_TYPE PipelineType)
Definition: GraphicsAccessories.cpp:1466
Buffer description.
Definition: Buffer.h:74
MipLevelProperties GetMipLevelProperties(const TextureDesc &TexDesc, Uint32 MipLevel)
Definition: GraphicsAccessories.cpp:1339
VALUE_TYPE2CType<> template specialization for 8-bit integer value type.
Definition: GraphicsAccessories.hpp:54
BIND_FLAGS BindFlags
Bind flags, see Diligent::BIND_FLAGS for details. The following bind flags are allowed: Diligent::BI...
Definition: Texture.h:86
STENCIL_OP
Stencil operation.
Definition: DepthStencilState.h:48
@ SHADER_TYPE_VERTEX
Vertex shader.
Definition: GraphicsTypes.h:68
VALUE_TYPE2CType<> template specialization for half-precision 16-bit floating-point value type.
Definition: GraphicsAccessories.hpp:116
PIPELINE_RESOURCE_FLAGS
Flags that define pipeline resource properties.
Definition: PipelineResourceSignature.h:79
const Char * GetBufferViewTypeLiteralName(BUFFER_VIEW_TYPE ViewType)
Returns the literal name of a buffer view type. For instance, for an unordered access view,...
Definition: GraphicsAccessories.cpp:443
SHADER_COMPILER
Describes the shader compiler that will be used to compile the shader source code.
Definition: Shader.h:73
const Char * GetFillModeLiteralName(FILL_MODE FillMode)
Returns the literal name of a fill mode.
Definition: GraphicsAccessories.cpp:722
String GetPipelineResourceFlagsString(PIPELINE_RESOURCE_FLAGS Flags, bool GetFullName=false, const char *DelimeterString="|")
Definition: GraphicsAccessories.cpp:1179
uint16_t Uint16
16-bit unsigned integer
Definition: BasicTypes.h:52
PIPELINE_TYPE PipelineTypeFromShaderStages(SHADER_TYPE ShaderStages)
Definition: GraphicsAccessories.cpp:1528
const Char * GetShaderVariableTypeLiteralName(SHADER_RESOURCE_VARIABLE_TYPE VarType, bool bGetFullName=false)
Returns the literal name of a shader variable type. For instance, for SHADER_RESOURCE_VARIABLE_TYPE_S...
Definition: GraphicsAccessories.cpp:524
Float32 CType
Definition: GraphicsAccessories.hpp:128
QUERY_TYPE
Query type.
Definition: GraphicsTypes.h:1446
const Char * GetBindFlagString(Uint32 BindFlag)
Returns the string containing single bind flag.
Definition: GraphicsAccessories.cpp:832
uint8_t Uint8
8-bit unsigned integer
Definition: BasicTypes.h:53
std::basic_string< Char > String
String variable.
Definition: BasicTypes.h:66
const char * GetPipelineTypeString(PIPELINE_TYPE PipelineType)
Definition: GraphicsAccessories.cpp:1145
@ FILTER_TYPE_COMPARISON_ANISOTROPIC
Comparison-anisotropic filtering.
Definition: GraphicsTypes.h:872
Uint32 GetStagingTextureSubresourceOffset(const TextureDesc &TexDesc, Uint32 ArraySlice, Uint32 MipLevel, Uint32 Alignment)
Returns an offset from the beginning of the buffer backing a staging texture to the given subresource...
Definition: GraphicsAccessories.hpp:562
#define VERIFY_EXPR(...)
Definition: DebugUtilities.hpp:79
BLEND_OPERATION
Blending operation.
Definition: BlendState.h:138
Uint32 RowStrideInTexels
Row stride in texels.
Definition: GraphicsAccessories.hpp:583
const Char * GetShaderTypeLiteralName(SHADER_TYPE ShaderType)
Returns the literal name of a shader type. For instance, for a pixel shader, "SHADER_TYPE_PIXEL" will...
Definition: GraphicsAccessories.cpp:476
const Char * GetShaderResourceTypeLiteralName(SHADER_RESOURCE_TYPE ResourceType, bool bGetFullName=false)
Returns the literal name of a shader resource type. For instance, for SHADER_RESOURCE_TYPE_CONSTANT_B...
Definition: GraphicsAccessories.cpp:552
#define VERIFY(...)
Definition: DebugUtilities.hpp:76
@ VT_FLOAT32
Full-precision 32-bit floating point.
Definition: GraphicsTypes.h:59
VALUE_TYPE2CType<> template specialization for 16-bit unsigned-integer value type.
Definition: GraphicsAccessories.hpp:94
Int16 CType
Definition: GraphicsAccessories.hpp:66
Uint16 CType
Definition: GraphicsAccessories.hpp:96
@ FILTER_TYPE_COMPARISON_POINT
Comparison-point filtering.
Definition: GraphicsTypes.h:870
const Char * GetBufferModeString(BUFFER_MODE Mode)
Returns the string containing the buffer mode description.
Definition: GraphicsAccessories.cpp:966
RESOURCE_STATE
Resource usage state.
Definition: GraphicsTypes.h:2814
RESOURCE_DIMENSION
Describes resource dimension.
Definition: GraphicsTypes.h:256
const Char * GetTextureAddressModeLiteralName(TEXTURE_ADDRESS_MODE AddressMode, bool bGetFullName)
Returns the literal name of a texture address mode. For instance, for TEXTURE_ADDRESS_WRAP,...
Definition: GraphicsAccessories.cpp:600
@ VT_INT16
Signed 16-bit integer.
Definition: GraphicsTypes.h:53
Uint16 CType
Definition: GraphicsAccessories.hpp:118
BufferToTextureCopyInfo GetBufferToTextureCopyInfo(const TextureDesc &TexDesc, Uint32 MipLevel, const Box &Region, Uint32 RowStrideAlignment)
Definition: GraphicsAccessories.cpp:1626
BUFFER_VIEW_TYPE
Buffer view type.
Definition: GraphicsTypes.h:303
@ FILTER_TYPE_MAXIMUM_ANISOTROPIC
Maximum-anisotropic filtering (DX12 only)
Definition: GraphicsTypes.h:878
MAP_TYPE
Resource mapping type.
Definition: GraphicsTypes.h:206
Uint16 ShaderType
Definition: DXBCUtils.cpp:70
const TextureFormatAttribs & GetTextureFormatAttribs(TEXTURE_FORMAT Format)
Returns invariant texture format attributes, see TextureFormatAttribs for details.
Definition: GraphicsAccessories.cpp:250
const Char * GetCullModeLiteralName(CULL_MODE CullMode)
Returns the literal name of a cull mode.
Definition: GraphicsAccessories.cpp:741
@ SHADER_TYPE_MESH
Mesh shader.
Definition: GraphicsTypes.h:75
Uint32 Depth
Definition: GraphicsAccessories.hpp:418
@ VT_UINT8
Unsigned 8-bit integer.
Definition: GraphicsTypes.h:55
const Char * GetResourceDimString(RESOURCE_DIMENSION TexType)
Returns the string containing the texture type.
Definition: GraphicsAccessories.cpp:804
struct BufferFormat BufferFormat
Definition: BufferView.h:85
String GetBindFlagsString(Uint32 BindFlags, const char *Delimeter="|")
Returns the string containing the bind flags.
Definition: GraphicsAccessories.cpp:856
Uint32 LogicalHeight
Definition: GraphicsAccessories.hpp:415
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37
SHADER_RESOURCE_VARIABLE_TYPE
Describes the type of the shader resource variable.
Definition: ShaderResourceVariable.h:48
Describes data for one subresource.
Definition: Texture.h:165
PIPELINE_RESOURCE_FLAGS GetValidPipelineResourceFlags(SHADER_RESOURCE_TYPE ResourceType)
Definition: GraphicsAccessories.cpp:1217