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

Method clear

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

////////////////////////////////////////////////////////////////////////// free image memory

Source from the content-addressed store, hash-verified

652///////////////////////////////////////////////////////////////////////////////
653// free image memory
654void CDDSImage::clear()
655{
656 m_components = 0;
657 m_format = TextureUnknown;
658 m_type = TextureNone;
659 m_valid = false;
660
661 m_images.clear();
662}
663
664///////////////////////////////////////////////////////////////////////////////
665// clamps input size to [1-size]

Callers 9

nv_dds.cppFile · 0.45
createMethod · 0.45
~ODBlockMethod · 0.45
renderMethod · 0.45
unbindMethod · 0.45
~SampleUserInputMethod · 0.45
shutdownMethod · 0.45
shutdownMethod · 0.45

Calls 1

clearFunction · 0.50

Tested by

no test coverage detected