MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / FreeResources

Method FreeResources

Source/TestRenderer/Application.cpp:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void Application::FreeResources() {
155 BE1::rhi.DestroyTexture(defaultTexture);
156 BE1::rhi.DestroyShader(defaultShader);
157 BE1::rhi.DestroyBuffer(defaultVertexBuffer);
158 BE1::rhi.DestroyVertexFormat(vertex2DFormat);
159 BE1::rhi.DestroyVertexFormat(vertex3DFormat);
160 BE1::rhi.DestroyBuffer(streamBuffer);
161}
162
163BE1::RHI::Handle Application::CreateRenderTarget(const BE1::RHI::Handle contextHandle) {
164 BE1::rhi.SetContext(contextHandle);

Callers 2

ShutdownInstanceFunction · 0.80
ShutdownInstanceFunction · 0.80

Calls 4

DestroyBufferMethod · 0.80
DestroyVertexFormatMethod · 0.80
DestroyTextureMethod · 0.45
DestroyShaderMethod · 0.45

Tested by

no test coverage detected