Skip to main content

Post-processing tools 2023 R2

ANSYS::Nexus::GLTFWriter::Program Class Reference

Last update: 17.04.2023

Programs 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 ProgramCreate (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 Program* ANSYS::Nexus::GLTFWriter::Program::Create ( GLTF gltf,
Shader vertexShader,
Shader fragmentShader 
)
static

Creates a program

Returns
Program object. Do not delete this pointer.
Parameters
[in]gltfGLTF object
[in]vertexShaderShader object for handling vertices
[in]fragmentShaderShader 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