Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Classes | Public Types | Public Attributes | List of all members
Program::UniformDef Struct Reference

Uniform reflection information. More...

#include <Program.hpp>

Classes

struct  Location
 Uniform location. More...
 

Public Types

enum class  Type {
  BOOL , BVEC2 , BVEC3 , BVEC4 ,
  INT , IVEC2 , IVEC3 , IVEC4 ,
  UINT , UVEC2 , UVEC3 , UVEC4 ,
  FLOAT , VEC2 , VEC3 , VEC4 ,
  MAT2 , MAT3 , MAT4 , OTHER
}
 Uniform basic type.
 

Public Attributes

std::string name
 The uniform name.
 
Type type
 The uniform type.
 
std::vector< Locationlocations
 Locations where this uniform is present.
 

Detailed Description

Uniform reflection information.


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