OGLShader_.kl

Types

OGLShader_ (object)

Members

Versions version  
String name  
UInt32 bufferID  
UInt32 unactiveBufferID  
Boolean externallyOwned  
OGLWrapperGlobals wrapperGlobals  
StatisticsAutoRegisterMember autoStats  
String code  
String[] splitCodeLines  
String glslVersion  
Integer glShaderType  
GLSLLineMapping[] lineMappings  
UInt32 compileStatus  
String compileLog  

Methods

  OGLShader_ ( in OGLShader_ other )
  OGLShader_ ( in String name, in String code, in Integer glShaderType )
  OGLShader_ ( in String name, in String filePath, in String code, in Integer glShaderType, in String preprocessorIncludePaths<> )
  OGLShader_ ()
OGLShader_ clone ? ()
  compile ! ( in Boolean force, io Ref<OGLContext> context )
  compile ! ( io Ref<OGLContext> context )
Boolean create ! ( io Ref<OGLContext> context )
  reportCodeAndMappings ? ()
  setCodeFromSplitLines ! ()
  ~OGLShader_ ()

Functions

GLShaderTypeToString

String GLShaderTypeToString ( in Integer glShaderType )

GLShaderTypeToIndex

UInt32 GLShaderTypeToIndex ( in Integer glShaderType )