18 unsigned int numBytes)
33 unsigned int index,
unsigned int numBytes)
94 output <<
"name = " <<
mDesc.
name << std::endl;
98 output <<
"flags = " <<
mDesc.
flags << std::endl;
103 output <<
"samples = -1" << std::endl;
109 output <<
"number of bytes = " <<
mNumBytes << std::endl;
119 "D3D_SIT_UAV_RWTYPED",
120 "D3D_SIT_STRUCTURED",
121 "D3D_SIT_UAV_RWSTRUCTURED",
122 "D3D_SIT_BYTEADDRESS",
123 "D3D_SIT_UAV_RWBYTEADDRESS",
124 "D3D_SIT_UAV_APPEND_STRUCTURED",
125 "D3D_SIT_UAV_CONSUME_STRUCTURED",
126 "D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER" 132 "D3D_RETURN_TYPE_UNORM",
133 "D3D_RETURN_TYPE_SNORM",
134 "D3D_RETURN_TYPE_SINT",
135 "D3D_RETURN_TYPE_UINT",
136 "D3D_RETURN_TYPE_FLOAT",
137 "D3D_RETURN_TYPE_MIXED",
138 "D3D_RETURN_TYPE_DOUBLE",
139 "D3D_RETURN_TYPE_CONTINUED" 144 "D3D_SRV_DIMENSION_UNKNOWN",
145 "D3D_SRV_DIMENSION_BUFFER",
146 "D3D_SRV_DIMENSION_TEXTURE1D",
147 "D3D_SRV_DIMENSION_TEXTURE1DARRAY",
148 "D3D_SRV_DIMENSION_TEXTURE2D",
149 "D3D_SRV_DIMENSION_TEXTURE2DARRAY",
150 "D3D_SRV_DIMENSION_TEXTURE2DMS",
151 "D3D_SRV_DIMENSION_TEXTURE2DMSARRAY",
152 "D3D_SRV_DIMENSION_TEXTURE3D",
153 "D3D_SRV_DIMENSION_TEXTURECUBE",
154 "D3D_SRV_DIMENSION_TEXTURECUBEARRAY",
155 "D3D_SRV_DIMENSION_BUFFEREX" unsigned int GetBindCount() const
static std::string const msSRVDimension[]
static std::string const msReturnType[]
D3D_SRV_DIMENSION GetDimension() const
unsigned int GetNumBytes() const
static std::string const msSIType[]
std::string const & GetName() const
D3D_SHADER_INPUT_TYPE GetType() const
GLsizei const GLchar *const * string
unsigned int GetNumSamples() const
#define D3D_SHADER_INPUT_BIND_DESC
virtual void Print(std::ofstream &output) const
unsigned int GetFlags() const
HLSLResource(D3D_SHADER_INPUT_BIND_DESC const &desc, unsigned int numBytes)
D3D_SRV_DIMENSION dimension
D3D_SHADER_INPUT_TYPE type
D3D_RESOURCE_RETURN_TYPE returnType
unsigned int GetBindPoint() const
D3D_RESOURCE_RETURN_TYPE GetReturnType() const