Cocos2d-x  v4
RenderPipelineGL Class Reference

Set program and blend state. More...

Inherits RenderPipeline.

Public Member Functions

 RenderPipelineGL ()=default
 
ProgramGL * getProgram () const
 Get program instance. More...
 
- Public Member Functions inherited from Ref
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

- 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

Set program and blend state.

Constructor & Destructor Documentation

◆ RenderPipelineGL()

RenderPipelineGL ( )
default
Parameters
descriptorSpecifies render pipeline descriptor.

Member Function Documentation

◆ getProgram()

ProgramGL* getProgram ( ) const
inline

Get program instance.

Returns
Program instance.

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