ANSYS::Nexus::GLTFWriter::Shader Class Reference
Last update: 17.04.2023Shaders are the GLSL executable code for vertex and fragment. More...
#include <GLTFWriter.h>
Inheritance diagram for ANSYS::Nexus::GLTFWriter::Shader:
Static Public Member Functions | |
static Shader * | Create (GLTF *gltf, const char *shaderText, unsigned int numAttributes, const char **attributes, unsigned int numUniforms, const char **uniforms) |
Detailed Description
Shaders are the GLSL executable code for vertex and fragment.
Definition at line 25 of file GLTFShader.h.
Member Function Documentation
◆ Create()
|
static |
Creates a shader.
- Returns
- Shader object. Do not delete this pointer.
- Parameters
-
[in] gltf GLTF object. [in] shaderText Text of program. [in] numAttributes Number of attributes. [in] attributes List of attributes in program. [in] numUniforms Number of uniforms. [in] uniforms List of uniforms in program.
- Examples
- Test002.cpp, and Test008.cpp.
The documentation for this class was generated from the following file:
- D:/ANSYSDev/NoBackup/branches/EnSight-Second-Coming/webgl_viewer/gltfwriterlib/include/GLTFShader.h