Pyrogenesis  trunk
Classes | Functions
Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp} Namespace Reference

Classes

struct  Binding
 

Functions

int GetStreamMask (const VertexAttributeStream stream)
 
GLint GLSizeFromFormat (const Format format)
 
GLenum GLTypeFromFormat (const Format format)
 
GLboolean NormalizedFromFormat (const Format format)
 
int GetAttributeLocationFromStream (CDevice *device, const VertexAttributeStream stream)
 
bool PreprocessShaderFile (bool arb, const CShaderDefines &defines, const VfsPath &path, const char *stage, CStr &source, std::vector< VfsPath > &fileDependencies)
 
std::tuple< GLenum, GLenum, GLint > GetElementTypeAndCountFromString (const CStr &str)
 

Function Documentation

◆ GetAttributeLocationFromStream()

int Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::GetAttributeLocationFromStream ( CDevice device,
const VertexAttributeStream  stream 
)

◆ GetElementTypeAndCountFromString()

std::tuple<GLenum, GLenum, GLint> Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::GetElementTypeAndCountFromString ( const CStr &  str)

◆ GetStreamMask()

int Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::GetStreamMask ( const VertexAttributeStream  stream)

◆ GLSizeFromFormat()

GLint Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::GLSizeFromFormat ( const Format  format)

◆ GLTypeFromFormat()

GLenum Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::GLTypeFromFormat ( const Format  format)

◆ NormalizedFromFormat()

GLboolean Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::NormalizedFromFormat ( const Format  format)

◆ PreprocessShaderFile()

bool Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp}::PreprocessShaderFile ( bool  arb,
const CShaderDefines defines,
const VfsPath path,
const char *  stage,
CStr &  source,
std::vector< VfsPath > &  fileDependencies 
)