MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / flip_texture

Method flip_texture

physx/samples/sampleframework/framework/src/nv_dds.cpp:781–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781void CDDSImage::flip_texture(CTexture &texture)
782{
783 flip(texture);
784
785 for (unsigned int i = 0; i < texture.get_num_mipmaps(); i++)
786 {
787 flip(texture.get_mipmap(i));
788 }
789}
790
791///////////////////////////////////////////////////////////////////////////////
792// swap to sections of memory

Callers

nothing calls this directly

Calls 2

flipFunction · 0.50
get_num_mipmapsMethod · 0.45

Tested by

no test coverage detected