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

Method CreateRenderTarget

Source/TestRenderer/Application.cpp:163–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163BE1::RHI::Handle Application::CreateRenderTarget(const BE1::RHI::Handle contextHandle) {
164 BE1::rhi.SetContext(contextHandle);
165
166 return BE1::rhi.CreateRenderTarget(BE1::RHI::RenderTargetType::RT2D, 400, 400, 1, &renderTargetTexture, BE1::RHI::NullTexture, BE1::RHI::RenderTargetFlag::HasDepthBuffer | BE1::RHI::RenderTargetFlag::SRGBWrite);
167}
168
169void Application::DrawClipRect(float s1, float t1, float s2, float t2) {
170 const struct Pic2D {

Callers 2

InitInstanceFunction · 0.45
InitDisplayFunction · 0.45

Calls 1

SetContextMethod · 0.45

Tested by

no test coverage detected