webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
gl::SwizzleState Struct Referencefinal

#include <Texture.h>

Public Member Functions

 SwizzleState ()
 
 SwizzleState (GLenum red, GLenum green, GLenum blue, GLenum alpha)
 
 SwizzleState (const SwizzleState &other)=default
 
SwizzleStateoperator= (const SwizzleState &other)=default
 
bool swizzleRequired () const
 
bool operator== (const SwizzleState &other) const
 
bool operator!= (const SwizzleState &other) const
 

Public Attributes

GLenum swizzleRed
 
GLenum swizzleGreen
 
GLenum swizzleBlue
 
GLenum swizzleAlpha
 

Constructor & Destructor Documentation

◆ SwizzleState() [1/3]

gl::SwizzleState::SwizzleState ( )

◆ SwizzleState() [2/3]

gl::SwizzleState::SwizzleState ( GLenum  red,
GLenum  green,
GLenum  blue,
GLenum  alpha 
)

◆ SwizzleState() [3/3]

gl::SwizzleState::SwizzleState ( const SwizzleState other)
default

Member Function Documentation

◆ operator!=()

bool gl::SwizzleState::operator!= ( const SwizzleState other) const

◆ operator=()

SwizzleState& gl::SwizzleState::operator= ( const SwizzleState other)
default

◆ operator==()

bool gl::SwizzleState::operator== ( const SwizzleState other) const

◆ swizzleRequired()

bool gl::SwizzleState::swizzleRequired ( ) const

Member Data Documentation

◆ swizzleAlpha

GLenum gl::SwizzleState::swizzleAlpha

◆ swizzleBlue

GLenum gl::SwizzleState::swizzleBlue

◆ swizzleGreen

GLenum gl::SwizzleState::swizzleGreen

◆ swizzleRed

GLenum gl::SwizzleState::swizzleRed

The documentation for this struct was generated from the following files: