#include <GteGLSLReflection.h>
Classes | |
struct | AtomicCounterBuffer |
struct | BufferVariable |
struct | DataBlock |
struct | EnumMap |
struct | Input |
struct | Output |
struct | SubroutineUniform |
struct | TransformFeedbackBuffer |
struct | TransformFeedbackVarying |
struct | Uniform |
Public Types | |
enum | { ST_VERTEX, ST_GEOMETRY, ST_PIXEL, ST_COMPUTE, ST_TESSCONTROL, ST_TESSEVALUATION } |
Public Member Functions | |
std::vector< AtomicCounterBuffer > const & | GetAtomicCounterBuffers () const |
std::vector< DataBlock > const & | GetBufferBlocks () const |
std::vector< BufferVariable > const & | GetBufferVariables () const |
void | GetComputeShaderWorkGroupSize (GLint &numXThreads, GLint &numYThreads, GLint &numZThreads) const |
std::vector< Input > const & | GetInputs () const |
std::vector< Output > const & | GetOutputs () const |
GLuint | GetProgramHandle () const |
std::vector< DataBlock > const & | GetUniformBlocks () const |
std::vector< Uniform > const & | GetUniforms () const |
GLSLReflection (GLuint handle) | |
void | Print (std::ofstream &output) const |
Private Member Functions | |
void | IntelWorkaround (std::string const &name, GLint results[]) |
void | ReflectAtomicCounterBuffers () |
void | ReflectBufferVariables () |
void | ReflectDataBlocks (GLenum programInterface, std::vector< DataBlock > &blocks) |
void | ReflectProgramInputs () |
void | ReflectProgramOutputs () |
void | ReflectSubroutines (GLenum programInterface, std::vector< std::string > &subroutines) |
void | ReflectSubroutineUniforms (GLenum programInterface, std::vector< SubroutineUniform > &subUniforms) |
void | ReflectTransformFeedbackBuffers () |
void | ReflectTransformFeedbackVaryings () |
void | ReflectUniforms () |
Static Private Member Functions | |
static std::string | GetEnumName (GLenum value) |
static std::string | GetEnumShaderName (GLenum value) |
static unsigned | GetEnumSize (GLenum value, GLint arraySize, GLint arrayStride, GLint matrixStride, GLint isRowMajor) |
static std::string | GetReferencedByShaderList (GLint const referencedBy[6]) |
Static Private Attributes | |
static const EnumMap | msEnumMap [] |
Definition at line 23 of file GteGLSLReflection.h.
anonymous enum |
Enumerator | |
---|---|
ST_VERTEX | |
ST_GEOMETRY | |
ST_PIXEL | |
ST_COMPUTE | |
ST_TESSCONTROL | |
ST_TESSEVALUATION |
Definition at line 30 of file GteGLSLReflection.h.
GLSLReflection::GLSLReflection | ( | GLuint | handle | ) |
Definition at line 14 of file GteGLSLReflection.cpp.
|
inline |
Definition at line 260 of file GteGLSLReflection.h.
|
inline |
Definition at line 254 of file GteGLSLReflection.h.
|
inline |
Definition at line 248 of file GteGLSLReflection.h.
void GLSLReflection::GetComputeShaderWorkGroupSize | ( | GLint & | numXThreads, |
GLint & | numYThreads, | ||
GLint & | numZThreads | ||
) | const |
Definition at line 65 of file GteGLSLReflection.cpp.
|
staticprivate |
Definition at line 978 of file GteGLSLReflection.cpp.
|
staticprivate |
Definition at line 992 of file GteGLSLReflection.cpp.
|
staticprivate |
Definition at line 945 of file GteGLSLReflection.cpp.
|
inline |
Definition at line 224 of file GteGLSLReflection.h.
|
inline |
Definition at line 230 of file GteGLSLReflection.h.
|
inline |
Definition at line 218 of file GteGLSLReflection.h.
|
staticprivate |
Definition at line 1006 of file GteGLSLReflection.cpp.
|
inline |
Definition at line 242 of file GteGLSLReflection.h.
|
inline |
Definition at line 236 of file GteGLSLReflection.h.
|
private |
Definition at line 1020 of file GteGLSLReflection.cpp.
void GLSLReflection::Print | ( | std::ofstream & | output | ) | const |
Definition at line 74 of file GteGLSLReflection.cpp.
|
private |
Definition at line 637 of file GteGLSLReflection.cpp.
|
private |
Definition at line 767 of file GteGLSLReflection.cpp.
|
private |
Definition at line 567 of file GteGLSLReflection.cpp.
|
private |
Definition at line 361 of file GteGLSLReflection.cpp.
|
private |
Definition at line 413 of file GteGLSLReflection.cpp.
|
private |
Definition at line 692 of file GteGLSLReflection.cpp.
|
private |
Definition at line 717 of file GteGLSLReflection.cpp.
|
private |
Definition at line 904 of file GteGLSLReflection.cpp.
|
private |
Definition at line 866 of file GteGLSLReflection.cpp.
|
private |
Definition at line 467 of file GteGLSLReflection.cpp.
|
private |
Definition at line 174 of file GteGLSLReflection.h.
|
private |
Definition at line 187 of file GteGLSLReflection.h.
|
private |
Definition at line 178 of file GteGLSLReflection.h.
|
private |
Definition at line 184 of file GteGLSLReflection.h.
|
private |
Definition at line 176 of file GteGLSLReflection.h.
|
private |
Definition at line 182 of file GteGLSLReflection.h.
|
private |
Definition at line 168 of file GteGLSLReflection.h.
|
private |
Definition at line 169 of file GteGLSLReflection.h.
|
private |
Definition at line 170 of file GteGLSLReflection.h.
|
private |
Definition at line 177 of file GteGLSLReflection.h.
|
private |
Definition at line 183 of file GteGLSLReflection.h.
|
staticprivate |
Definition at line 201 of file GteGLSLReflection.h.
|
private |
Definition at line 173 of file GteGLSLReflection.h.
Definition at line 215 of file GteGLSLReflection.h.
|
private |
Definition at line 179 of file GteGLSLReflection.h.
|
private |
Definition at line 185 of file GteGLSLReflection.h.
|
private |
Definition at line 180 of file GteGLSLReflection.h.
|
private |
Definition at line 186 of file GteGLSLReflection.h.
|
private |
Definition at line 189 of file GteGLSLReflection.h.
|
private |
Definition at line 188 of file GteGLSLReflection.h.
|
private |
Definition at line 172 of file GteGLSLReflection.h.
|
private |
Definition at line 171 of file GteGLSLReflection.h.
|
private |
Definition at line 214 of file GteGLSLReflection.h.
|
private |
Definition at line 175 of file GteGLSLReflection.h.
|
private |
Definition at line 181 of file GteGLSLReflection.h.