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

Method GetTempTexture

trinity/Tr2GpuResourcePool.cpp:97–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97Tr2GpuResourcePool::Texture Tr2GpuResourcePool::GetTempTexture( const char* name, uint32_t width, uint32_t height, Tr2RenderContextEnum::PixelFormat pixelFormat, Tr2GpuUsage::Type gpuUsage )
98{
99 return GetTempTexture( name, Tr2BitmapDimensions( width, height, 1, pixelFormat ), gpuUsage );
100}
101
102Tr2GpuResourcePool::Texture Tr2GpuResourcePool::GetTempTexture( const char* name, const TextureSize2D& size, Tr2RenderContextEnum::PixelFormat pixelFormat, Tr2GpuUsage::Type gpuUsage )
103{

Callers 15

RenderVolumetricsMethod · 0.80
RenderFogMethod · 0.80
GetShadowMapAtlasMethod · 0.80
DrawToShadowMapResultMethod · 0.80
ExecuteMethod · 0.80
PerformPassMethod · 0.80
ComputeCORTAOMethod · 0.80
ApplyMethod · 0.80
ExecuteMethod · 0.80

Calls 10

AppendNameFunction · 0.85
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