MCPcopy Create free account
hub / github.com/defold/defold / IsTextureMemoryless

Function IsTextureMemoryless

engine/graphics/src/vulkan/graphics_vulkan.cpp:256–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 }
255
256 static inline bool IsTextureMemoryless(VulkanTexture* texture)
257 {
258 return texture->m_UsageFlags & VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT;
259 }
260
261 static inline bool IsRenderTargetbound(VulkanContext* context, HRenderTarget rt)
262 {

Callers 6

VulkanNewRenderTargetFunction · 0.85
VulkanSetTextureInternalFunction · 0.85
AsyncProcessCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected