libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Fast::ShaderProgram Struct Reference

OpenGL shader program metadata cached by the Fast3D renderer. More...

#include <gfx_opengl.h>

Public Attributes

GLuint openglProgramId
 
uint8_t numInputs
 
bool usedTextures [SHADER_MAX_TEXTURES]
 
uint8_t numFloats
 
GLint attribLocations [16]
 
uint8_t attribSizes [16]
 
uint8_t numAttribs
 
GLint frameCountLocation
 
GLint noiseScaleLocation
 
GLint prim_depth_location
 
GLint texture_width_location
 
GLint texture_height_location
 
GLint texture_filtering_location
 

Detailed Description

OpenGL shader program metadata cached by the Fast3D renderer.

Member Data Documentation

◆ attribLocations

GLint Fast::ShaderProgram::attribLocations[16]

◆ attribSizes

uint8_t Fast::ShaderProgram::attribSizes[16]

◆ frameCountLocation

GLint Fast::ShaderProgram::frameCountLocation

◆ noiseScaleLocation

GLint Fast::ShaderProgram::noiseScaleLocation

◆ numAttribs

uint8_t Fast::ShaderProgram::numAttribs

◆ numFloats

uint8_t Fast::ShaderProgram::numFloats

◆ numInputs

uint8_t Fast::ShaderProgram::numInputs

◆ openglProgramId

GLuint Fast::ShaderProgram::openglProgramId

◆ prim_depth_location

GLint Fast::ShaderProgram::prim_depth_location

◆ texture_filtering_location

GLint Fast::ShaderProgram::texture_filtering_location

◆ texture_height_location

GLint Fast::ShaderProgram::texture_height_location

◆ texture_width_location

GLint Fast::ShaderProgram::texture_width_location

◆ usedTextures

bool Fast::ShaderProgram::usedTextures[SHADER_MAX_TEXTURES]

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