MCPcopy Create free account
hub / github.com/beefytech/Beef / ~DXRenderDevice

Method ~DXRenderDevice

BeefySysLib/platform/win/DXRenderDevice.cpp:1929–1946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1927}
1928
1929DXRenderDevice::~DXRenderDevice()
1930{
1931 for (auto window : mRenderWindowList)
1932 ((DXRenderWindow*)window)->ReleaseNative();
1933 for (auto shader : mShaders)
1934 shader->ReleaseNative();
1935 for (auto renderState : mRenderStates)
1936 renderState->ReleaseNative();
1937 for (auto texture : mTextures)
1938 {
1939 texture->ReleaseNative();
1940 texture->mRenderDevice = NULL;
1941 }
1942
1943 ReleaseNative();
1944
1945 delete mDefaultRenderState;
1946}
1947
1948bool DXRenderDevice::Init(BFApp* app)
1949{

Callers

nothing calls this directly

Calls 1

ReleaseNativeMethod · 0.80

Tested by

no test coverage detected