Cocos2d-x  v4
DepthStencilStateMTL Class Reference

A class represent a depth/stencil test status. More...

Inherits DepthStencilState.

Public Member Functions

Constructor, Destructor and Initializers
 DepthStencilStateMTL (id< MTLDevice > mtlDevice, const DepthStencilDescriptor &descriptor)
 
 ~DepthStencilStateMTL ()
 
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 Destructor. More...
 

Setters & Getters

id< MTLDepthStencilState > getMTLDepthStencilState () const
 get a MTLDepthStencilState 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

A class represent a depth/stencil test status.

Constructor & Destructor Documentation

◆ DepthStencilStateMTL()

DepthStencilStateMTL ( id< MTLDevice >  mtlDevice,
const DepthStencilDescriptor descriptor 
)
Parameters
mtlDeviceThe device for which MTLDepthStencilState object was created.

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