zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TranslatorHLSL.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 #ifndef COMPILER_TRANSLATORHLSL_H_
8 #define COMPILER_TRANSLATORHLSL_H_
9 
10 #include "compiler/ShHandle.h"
11 #include "compiler/Uniform.h"
12 
13 class TranslatorHLSL : public TCompiler {
14 public:
16 
17  virtual TranslatorHLSL *getAsTranslatorHLSL() { return this; }
19 
20 protected:
21  virtual void translate(TIntermNode* root);
22 
25 };
26 
27 #endif // COMPILER_TRANSLATORHLSL_H_
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
Definition: gl2ext.h:845
std::vector< Uniform > ActiveUniforms
Definition: Uniform.h:31
sh::ActiveUniforms mActiveUniforms
const sh::ActiveUniforms & getUniforms()
virtual void translate(TIntermNode *root)
virtual TranslatorHLSL * getAsTranslatorHLSL()
ShShaderOutput mOutputType
ShShaderType
Definition: ShaderLang.h:48
TranslatorHLSL(ShShaderType type, ShShaderSpec spec, ShShaderOutput output)
ShShaderOutput
Definition: ShaderLang.h:80
ShShaderSpec
Definition: ShaderLang.h:53