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

Classes

class  AlignedMemory
 

Public Member Functions

 Resources (id< MTLDevice > metalDevice, CAMetalLayer *layer)
 
CGContextRef getCGContext () const noexcept
 
id< MTLTexture > getGpuTexture () noexcept
 
id< MTLTexture > getSharedTexture () const noexcept
 
void signalBufferModifiedByCpu ()
 

Private Attributes

ObjCObjectHandle< id< MTLBuffer > > buffer
 
detail::ContextPtr cgContext
 
AlignedMemory cpuRenderMemory
 
std::unique_ptr< GpuTexturePoolgpuTexturePool
 
ObjCObjectHandle< id< MTLTexture > > sharedTexture
 

Constructor & Destructor Documentation

◆ Resources()

juce::CoreGraphicsMetalLayerRenderer::Resources::Resources ( id< MTLDevice >  metalDevice,
CAMetalLayer *  layer 
)
inline

Member Function Documentation

◆ getCGContext()

CGContextRef juce::CoreGraphicsMetalLayerRenderer::Resources::getCGContext ( ) const
inlinenoexcept

◆ getGpuTexture()

id< MTLTexture > juce::CoreGraphicsMetalLayerRenderer::Resources::getGpuTexture ( )
inlinenoexcept

◆ getSharedTexture()

id< MTLTexture > juce::CoreGraphicsMetalLayerRenderer::Resources::getSharedTexture ( ) const
inlinenoexcept

◆ signalBufferModifiedByCpu()

void juce::CoreGraphicsMetalLayerRenderer::Resources::signalBufferModifiedByCpu ( )
inline

Member Data Documentation

◆ buffer

ObjCObjectHandle<id<MTLBuffer> > juce::CoreGraphicsMetalLayerRenderer::Resources::buffer
private

◆ cgContext

detail::ContextPtr juce::CoreGraphicsMetalLayerRenderer::Resources::cgContext
private

◆ cpuRenderMemory

AlignedMemory juce::CoreGraphicsMetalLayerRenderer::Resources::cpuRenderMemory
private

◆ gpuTexturePool

std::unique_ptr<GpuTexturePool> juce::CoreGraphicsMetalLayerRenderer::Resources::gpuTexturePool
private

◆ sharedTexture

ObjCObjectHandle<id<MTLTexture> > juce::CoreGraphicsMetalLayerRenderer::Resources::sharedTexture
private

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