Zernikalos
Toggle table of contents
0.7.0
Metal
Target filter
Metal
Switch theme
Search in API
Skip to content
Zernikalos
Zernikalos
/
zernikalos.context
/
ZMtlRenderingContext
ZMtl
Rendering
Context
Metal
class
ZMtlRenderingContext
(
view
:
ZSurfaceView
)
:
ZRenderingContext
(
source
)
Members
Constructors
ZMtl
Rendering
Context
Link copied to clipboard
Metal
constructor
(
view
:
ZSurfaceView
)
Properties
command
Buffer
Link copied to clipboard
Metal
var
commandBuffer
:
MTLCommandBufferProtocol
?
command
Queue
Link copied to clipboard
Metal
val
commandQueue
:
MTLCommandQueueProtocol
device
Link copied to clipboard
Metal
val
device
:
MTLDeviceProtocol
render
Encoder
Link copied to clipboard
Metal
var
renderEncoder
:
MTLRenderCommandEncoderProtocol
?
surface
View
Link copied to clipboard
Metal
val
surfaceView
:
ZMtlSurfaceView
Functions
init
With
Surface
View
Link copied to clipboard
Metal
open
override
fun
initWithSurfaceView
(
surfaceView
:
ZSurfaceView
)
make
Command
Buffer
Link copied to clipboard
Metal
fun
makeCommandBuffer
(
)
make
Render
Command
Encoder
Link copied to clipboard
Metal
fun
makeRenderCommandEncoder
(
renderPassDescriptor
:
MTLRenderPassDescriptor
)