OGLShader_ (object)

OGLShader_ OGLShader_ OGLShader_ OGLBaseObject OGLBaseObject OGLShader_->OGLBaseObject BaseVersioned BaseVersioned OGLBaseObject->BaseVersioned OGLObject OGLObject OGLBaseObject->OGLObject StatisticSourceWithAutoRegisterMember StatisticSourceWithAutoRegisterMember OGLBaseObject->StatisticSourceWithAutoRegisterMember Versioned Versioned BaseVersioned->Versioned

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_ ()

Methods in detail

OGLShader_ ( in OGLShader_ other )

copy constructor


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_ ()

default constructor


OGLShader_ OGLShader_.clone? ()

clone method


OGLShader_.compile! ( in Boolean force, io Ref<OGLContext> context )


OGLShader_.compile! ( io Ref<OGLContext> context )


Boolean OGLShader_.create! ( io Ref<OGLContext> context )

Returns true if it succeeded. Some Objects can only be created with specialized methods, in which case this will return false.


OGLShader_.reportCodeAndMappings? ()


OGLShader_.setCodeFromSplitLines! ()


~ OGLShader_ ()