Cocos2d-x  4.0.0
Public Member Functions | List of all members
RenderPipelineMTL Class Reference

Create and compile a new MTLRenderPipelineState object synchronously. More...

Inherits RenderPipeline.

Public Member Functions

 RenderPipelineMTL (id< MTLDevice > mtlDevice)
 
id< MTLRenderPipelineState > getMTLRenderPipelineState () const
 Get a MTLRenderPipelineState object.
 

Additional Inherited Members

- Public Attributes inherited from Ref
unsigned int _ID
 object id, ScriptSupport need public _ID
 
int _luaID
 Lua reference id.
 
void * _scriptObject
 scriptObject, support for swift
 
bool _rooted
 When true, it means that the object was already rooted.
 

Detailed Description

Create and compile a new MTLRenderPipelineState object synchronously.

Constructor & Destructor Documentation

RenderPipelineMTL ( id< MTLDevice >  mtlDevice)
Parameters
mtlDeviceThe device for which MTLRenderPipelineState object was created.
descriptorSpecify the render pipeline description.

Member Function Documentation

id<MTLRenderPipelineState> getMTLRenderPipelineState ( ) const
inline

Get a MTLRenderPipelineState object.

Returns
A MTLRenderPipelineState object.

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