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

#include <formatutils.h>

Public Member Functions

 Format (GLenum internalFormat)
 
 Format (const InternalFormat &internalFormat)
 
 Format (GLenum internalFormat, GLenum format, GLenum type)
 
 Format (const Format &other)
 
Formatoperator= (const Format &other)
 
GLenum asSized () const
 
bool valid () const
 

Static Public Member Functions

static Format Invalid ()
 
static bool SameSized (const Format &a, const Format &b)
 

Public Attributes

const InternalFormatinfo
 
GLenum format
 
GLenum type
 
bool sized
 

Constructor & Destructor Documentation

◆ Format() [1/4]

gl::Format::Format ( GLenum  internalFormat)
explicit

◆ Format() [2/4]

gl::Format::Format ( const InternalFormat internalFormat)
explicit

◆ Format() [3/4]

gl::Format::Format ( GLenum  internalFormat,
GLenum  format,
GLenum  type 
)

◆ Format() [4/4]

gl::Format::Format ( const Format other)
default

Member Function Documentation

◆ asSized()

GLenum gl::Format::asSized ( ) const

◆ Invalid()

Format gl::Format::Invalid ( )
static

◆ operator=()

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

◆ SameSized()

bool gl::Format::SameSized ( const Format a,
const Format b 
)
static

◆ valid()

bool gl::Format::valid ( ) const

Member Data Documentation

◆ format

GLenum gl::Format::format

◆ info

const InternalFormat* gl::Format::info

◆ sized

bool gl::Format::sized

◆ type

GLenum gl::Format::type

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