Steppable 0.0.1
A CAS project written from scratch in C++
Loading...
Searching...
No Matches
MetalContext Class Reference
Inheritance diagram for MetalContext:
[legend]
Collaboration diagram for MetalContext:
[legend]

Instance Methods

(MetalBuffer *) - dequeueReusableBufferOfLength:device:
 
(id< MTLRenderPipelineState >) - renderPipelineStateForFramebufferDescriptor:device:
 

Properties

id< MTLDevice > device
 
id< MTLDepthStencilState > depthStencilState
 
FramebufferDescriptorframebufferDescriptor
 
NSMutableDictionary * renderPipelineStateCache
 
id< MTLTexture > fontTexture
 
NSMutableArray< MetalBuffer * > * bufferCache
 
double lastBufferCachePurge
 

Method Documentation

◆ dequeueReusableBufferOfLength:device:

- (MetalBuffer *) dequeueReusableBufferOfLength: (NSUInteger) length
device: (id<MTLDevice>) device 

◆ renderPipelineStateForFramebufferDescriptor:device:

- (id< MTLRenderPipelineState >) renderPipelineStateForFramebufferDescriptor: (FramebufferDescriptor*) descriptor
device: (id<MTLDevice>) device 

Property Documentation

◆ bufferCache

- (NSMutableArray<MetalBuffer*>*) bufferCache
readwritenonatomicstrong

◆ depthStencilState

- (id<MTLDepthStencilState>) depthStencilState
readwritenonatomicstrong

◆ device

- (id<MTLDevice>) device
readwritenonatomicstrong

◆ fontTexture

- (id<MTLTexture>) fontTexture
readwritenonatomicstrong

◆ framebufferDescriptor

- (FramebufferDescriptor*) framebufferDescriptor
readwritenonatomicstrong

◆ lastBufferCachePurge

- (double) lastBufferCachePurge
readwritenonatomicassign

◆ renderPipelineStateCache

- (NSMutableDictionary*) renderPipelineStateCache
readwritenonatomicstrong

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