Renderer.getMetalCommandEncoder

Wraps SDL_RenderGetMetalCommandEncoder (from SDL 2.0.8) which gets the Metal command encoder for the current frame

class Renderer
@system
static if(sdlSupport >= SDLSupport.v2_0_8)
void*
getMetalCommandEncoder
()

Return Value

Type: void*

ID of the MTLRenderCommandEncoder, otherwise null if not using a Metal renderer

Meta