Skip to main content

Post-processing tools 2024 R2

ANSYS::AVZ::GLTFWriter::Program Class Reference

Last update: 16.07.2025

#include <GLTFWriter.h>

Inheritance diagram for ANSYS::AVZ::GLTFWriter::Program:

Static Public Member Functions

static Program * Create (GLTF *gltf, Shader *vertexShader, Shader *fragmentShader)
 

Detailed Description

A program is comprised of a vertex shader and a fragment shader.

Examples
Test002.cpp, and Test008.cpp.

Definition at line 27 of file GLTFProgram.h.

Constructor & Destructor Documentation

◆ ~Program()

virtual ANSYS::AVZ::GLTFWriter::Program::~Program ( )
inlineprotectedvirtual

Definition at line 30 of file GLTFProgram.h.

Member Function Documentation

◆ Create()

static Program * ANSYS::AVZ::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

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

Connect with Ansys