JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::CoreGraphicsMetalLayerRenderer::GpuTexturePool Class Reference
Collaboration diagram for juce::CoreGraphicsMetalLayerRenderer::GpuTexturePool:

Public Member Functions

 GpuTexturePool (id< MTLDevice > metalDevice, MTLTextureDescriptor *descriptor)
 
id< MTLTexture > take () const
 

Private Attributes

std::array< ObjCObjectHandle< id< MTLTexture > >, 3 > textureCache
 

Constructor & Destructor Documentation

◆ GpuTexturePool()

juce::CoreGraphicsMetalLayerRenderer::GpuTexturePool::GpuTexturePool ( id< MTLDevice >  metalDevice,
MTLTextureDescriptor *  descriptor 
)
inline

Member Function Documentation

◆ take()

id< MTLTexture > juce::CoreGraphicsMetalLayerRenderer::GpuTexturePool::take ( ) const
inline

Member Data Documentation

◆ textureCache

std::array<ObjCObjectHandle<id<MTLTexture> >, 3> juce::CoreGraphicsMetalLayerRenderer::GpuTexturePool::textureCache
private

The documentation for this class was generated from the following file: