MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / ValidateMipResolution

Method ValidateMipResolution

deps/LLGL/sources/Renderer/RenderTarget.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void RenderTarget::ValidateMipResolution(const Texture& texture, std::uint32_t mipLevel)
56{
57 /* Apply texture size to render target resolution */
58 auto size = texture.GetMipExtent(mipLevel);
59 ValidateResolution({ size.width, size.height });
60}
61
62
63} // /namespace LLGL

Callers

nothing calls this directly

Calls 1

GetMipExtentMethod · 0.45

Tested by

no test coverage detected