webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::WebGLShader Class Referencefinal

#include <WebGLShader.h>

Inheritance diagram for WebCore::WebGLShader:
WebCore::WebGLSharedObject WebCore::WebGLObject WTF::RefCounted< WebGLObject > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

virtual ~WebGLShader ()
 
GC3Denum getType () const
 
const StringgetSource () const
 
void setSource (const String &source)
 
bool isValid () const
 
void setValid (bool valid)
 
- Public Member Functions inherited from WebCore::WebGLSharedObject
virtual ~WebGLSharedObject ()
 
WebGLContextGroupcontextGroup () const
 
virtual bool isRenderbuffer () const
 
virtual bool isTexture () const
 
bool validate (const WebGLContextGroup *contextGroup, const WebGLRenderingContextBase &) const override
 
void detachContextGroup ()
 
- Public Member Functions inherited from WebCore::WebGLObject
virtual ~WebGLObject ()
 
Platform3DObject object () const
 
void deleteObject (GraphicsContext3D *)
 
void onAttached ()
 
void onDetached (GraphicsContext3D *)
 
bool isDeleted ()
 
- Public Member Functions inherited from WTF::RefCounted< WebGLObject >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< WebGLShadercreate (WebGLRenderingContextBase &, GC3Denum)
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::WebGLSharedObject
 WebGLSharedObject (WebGLRenderingContextBase &)
 
bool hasGroupOrContext () const override
 
GraphicsContext3DgetAGraphicsContext3D () const override
 
- Protected Member Functions inherited from WebCore::WebGLObject
 WebGLObject ()=default
 
void setObject (Platform3DObject)
 
virtual void detach ()
 
- Protected Member Functions inherited from WTF::RefCounted< WebGLObject >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Constructor & Destructor Documentation

◆ ~WebGLShader()

virtual WebCore::WebGLShader::~WebGLShader ( )
virtual

Member Function Documentation

◆ create()

static Ref<WebGLShader> WebCore::WebGLShader::create ( WebGLRenderingContextBase ,
GC3Denum   
)
static

◆ getSource()

const String& WebCore::WebGLShader::getSource ( ) const
inline

◆ getType()

GC3Denum WebCore::WebGLShader::getType ( ) const
inline

◆ isValid()

bool WebCore::WebGLShader::isValid ( ) const
inline

◆ setSource()

void WebCore::WebGLShader::setSource ( const String source)
inline

◆ setValid()

void WebCore::WebGLShader::setValid ( bool  valid)
inline

The documentation for this class was generated from the following file: