MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / HLSLTextureArray

Class HLSLTextureArray

GTE/Graphics/DX11/HLSLTextureArray.h:14–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace gte
13{
14 class HLSLTextureArray : public HLSLResource
15 {
16 public:
17 // Construction and destruction.
18 virtual ~HLSLTextureArray() = default;
19
20 HLSLTextureArray(D3D_SHADER_INPUT_BIND_DESC const& desc);
21 HLSLTextureArray(D3D_SHADER_INPUT_BIND_DESC const& desc, uint32_t index);
22
23 // Member access.
24 inline uint32_t GetNumComponents() const
25 {
26 return mNumComponents;
27 }
28
29 inline uint32_t GetNumDimensions() const
30 {
31 return mNumDimensions;
32 }
33
34 inline bool IsGpuWritable() const
35 {
36 return mGpuWritable;
37 }
38
39 private:
40 void Initialize(D3D_SHADER_INPUT_BIND_DESC const& desc);
41
42 uint32_t mNumComponents;
43 uint32_t mNumDimensions;
44 bool mGpuWritable;
45 };
46}
47
48

Callers 1

GetBoundResourcesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected