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. More... | |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
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. | |
Create and compile a new MTLRenderPipelineState object synchronously.
RenderPipelineMTL | ( | id< MTLDevice > | mtlDevice | ) |
mtlDevice | The device for which MTLRenderPipelineState object was created. |
descriptor | Specify the render pipeline description. |
|
inline |
Get a MTLRenderPipelineState object.