|
Axmol 3.0.0-89d6d9a
|
To Create a vertex or fragment shader. More...
#include <ShaderModuleMTL.h>
Inherits ShaderModule.
Public Member Functions | |
| ShaderModuleImpl (id< MTLDevice > mtlDevice, ShaderStage stage, Data &chunk) | |
| id< MTLFunction > | getMTLFunction () const |
| Get MTLFunction object. | |
| Public Member Functions inherited from ShaderModule | |
| ShaderStage | getShaderStage () const |
| Get shader stage. | |
| Public Member Functions inherited from Object | |
| void | retain () |
| Retains the ownership. | |
| void | release () |
| Releases the ownership immediately. | |
| Object * | autorelease () |
| Releases the ownership sometime soon automatically. | |
| unsigned int | getReferenceCount () const |
| Returns the Object's current reference count. | |
| uint64_t | getObjectID () const noexcept |
| Returns the process-local diagnostic identifier assigned at construction. | |
| virtual | ~Object () |
| Destructor. | |
To Create a vertex or fragment shader.
| ShaderModuleImpl | ( | id< MTLDevice > | mtlDevice, |
| ShaderStage | stage, | ||
| Data & | chunk ) |
| mtlDevice | The device for which MTLFunction object was created. |
| stage | Specify what kinds of shader to be created. |
| source | Specify the shader source. |
|
inline |
Get MTLFunction object.