MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / SaveTextureAsDDS

Function SaveTextureAsDDS

SampleFramework11/v1.02/Graphics/Textures.cpp:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void SaveTextureAsDDS(ID3D11ShaderResourceView* srv, const wchar* filePath)
233{
234 ID3D11ResourcePtr texture;
235 srv->GetResource(&texture);
236
237 SaveTextureAsDDS(texture, filePath);
238}
239
240void SaveTextureAsDDS(ID3D11Resource* texture, const wchar* filePath)
241{

Callers 1

Calls 3

DXCallFunction · 0.85
GetImagesMethod · 0.80
GetImageCountMethod · 0.80

Tested by

no test coverage detected