MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetPersistentTexture

Method GetPersistentTexture

trinity/Tr2GpuResourcePool.cpp:148–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148Tr2GpuResourcePool::Texture Tr2GpuResourcePool::GetPersistentTexture( const char* name, uint32_t width, uint32_t height, Tr2RenderContextEnum::PixelFormat pixelFormat, Tr2GpuUsage::Type gpuUsage, const TextureInitializer& initializer )
149{
150 return GetPersistentTexture( name, Tr2BitmapDimensions( width, height, 1, pixelFormat ), gpuUsage, initializer );
151}
152
153Tr2GpuResourcePool::Texture Tr2GpuResourcePool::GetPersistentTexture( const char* name, const Tr2BitmapDimensions& desc, Tr2GpuUsage::Type gpuUsage, const TextureInitializer& initializer )
154{

Callers 8

GetEmptyFogTextureMethod · 0.80
RenderFogMethod · 0.80
PerformPassMethod · 0.80
RenderTaaMethod · 0.80
GetBlackTextureMethod · 0.80
GetEmptySSAOFunction · 0.80

Calls 9

IsValidFunction · 0.70
ToStringFunction · 0.70
beginFunction · 0.70
endFunction · 0.70
TextureClass · 0.50
GetGpuUsageMethod · 0.45
CreateMethod · 0.45
SetNameMethod · 0.45

Tested by

no test coverage detected