Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
RenderPipelineMTL Class Reference

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

#include <RenderPipelineMTL.h>

Inherits RenderPipeline.

Public Member Functions

 RenderPipelineMTL (id< MTLDevice > mtlDevice)
 
id< MTLRenderPipelineState > getMTLRenderPipelineState () const
 Get a MTLRenderPipelineState object.
 
- Public Member Functions inherited from Object
void retain ()
 Retains the ownership.
 
void release ()
 Releases the ownership immediately.
 
Objectautorelease ()
 Releases the ownership sometime soon automatically.
 
unsigned int getReferenceCount () const
 Returns the Object's current reference count.
 
virtual ~Object ()
 Destructor.
 

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID
 
int _luaID
 Lua reference id.
 

Detailed Description

Create and compile a new MTLRenderPipelineState object synchronously.

Constructor & Destructor Documentation

◆ RenderPipelineMTL()

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

Member Function Documentation

◆ getMTLRenderPipelineState()

id< MTLRenderPipelineState > getMTLRenderPipelineState ( ) const
inline

Get a MTLRenderPipelineState object.

Returns
A MTLRenderPipelineState object.

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