MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Texture

Method Texture

SampleFramework12/v1.00/Graphics/Model.h:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 uint32 TextureIndices[uint64(MaterialTextures::Count)] = { };
82
83 D3D12_CPU_DESCRIPTOR_HANDLE Texture(MaterialTextures texType) const
84 {
85 Assert_(uint64(texType) < uint64(MaterialTextures::Count));
86 Assert_(Textures[uint64(texType)] != nullptr);
87 return Textures[uint64(texType)]->SRV.CPUHandle;
88 }
89
90 template<typename TSerializer> void Serialize(TSerializer& serializer)
91 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected