MCPcopy Create free account
hub / github.com/Apress/Ray-Tracing-Gems-II / SetToInvalidTexture

Method SetToInvalidTexture

Chapter_27/Core/TextureManager.cpp:249–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249void ManagedTexture::SetToInvalidTexture( void )
250{
251 m_hCpuDescriptorHandle = TextureManager::GetMagentaTex2D().GetSRV();
252 m_IsValid = false;
253}
254
255const ManagedTexture* TextureManager::LoadFromFile( const std::wstring& fileName, bool sRGB )
256{

Callers 3

LoadDDSFromFileMethod · 0.80
LoadTGAFromFileMethod · 0.80
LoadPIXImageFromFileMethod · 0.80

Calls 1

GetSRVMethod · 0.80

Tested by

no test coverage detected