ANSYS::Nexus::GLTFWriter::Program Class Reference
Last update: 17.04.2023Programs are the GLSL executable code for rendering the primitives. More...
#include <GLTFWriter.h>
Inheritance diagram for ANSYS::Nexus::GLTFWriter::Program:
Static Public Member Functions | |
static Program * | Create (GLTF *gltf, Shader *vertexShader, Shader *fragmentShader) |
Detailed Description
Programs are the GLSL executable code for rendering the primitives.
A program is comprised of a vertex shader and a fragment shader.
Definition at line 27 of file GLTFProgram.h.
Member Function Documentation
◆ Create()
|
static |
Creates a program
- Returns
- Program object. Do not delete this pointer.
- Parameters
-
[in] gltf GLTF object [in] vertexShader Shader object for handling vertices [in] fragmentShader Shader object for handling fragments
- 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/GLTFProgram.h