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

Create shader. More...

#include <ShaderModule.h>

Inherits Object.

Inherited by ShaderModuleGL, and ShaderModuleMTL.

Public Member Functions

ShaderStage getShaderStage () const
 Get shader stage.
 
- 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 shader.

Member Function Documentation

◆ getShaderStage()

ShaderStage getShaderStage ( ) const

Get shader stage.

The symbolic constant can be either VERTEX or FRAGMENT.

Returns
Shader stage.

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