MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GPUTexture

Method GPUTexture

Source/Engine/Graphics/Textures/GPUTexture.cpp:210–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210GPUTexture::GPUTexture()
211 : GPUResource(SpawnParams(Guid::New(), TypeInitializer))
212 , _residentMipLevels(0)
213 , _sRGB(false)
214 , _isBlockCompressed(false)
215{
216 // Keep description data clear (we use _desc.MipLevels to check if it's has been initated)
217 _desc.Clear();
218}
219
220bool GPUTexture::IsStaging() const
221{

Callers

nothing calls this directly

Calls 2

NewFunction · 0.50
ClearMethod · 0.45

Tested by

no test coverage detected