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

#include <Texture.h>

Inheritance diagram for gl::TextureState:
angle::NonCopyable

Public Member Functions

 TextureState (GLenum target)
 
bool swizzleRequired () const
 
GLuint getEffectiveBaseLevel () const
 
GLuint getEffectiveMaxLevel () const
 
GLuint getMipmapMaxLevel () const
 
bool setBaseLevel (GLuint baseLevel)
 
void setMaxLevel (GLuint maxLevel)
 
bool isCubeComplete () const
 
bool isSamplerComplete (const SamplerState &samplerState, const ContextState &data) const
 
const ImageDescgetImageDesc (GLenum target, size_t level) const
 
GLenum getTarget () const
 
const SwizzleStategetSwizzleState () const
 
const SamplerStategetSamplerState () const
 
GLenum getUsage () const
 
- Public Member Functions inherited from angle::NonCopyable
 NonCopyable ()=default
 
 ~NonCopyable ()=default
 

Friends

class Texture
 
class rx::TextureGL
 
bool operator== (const TextureState &a, const TextureState &b)
 

Additional Inherited Members

- Protected Member Functions inherited from angle::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Constructor & Destructor Documentation

◆ TextureState()

gl::TextureState::TextureState ( GLenum  target)

Member Function Documentation

◆ getEffectiveBaseLevel()

GLuint gl::TextureState::getEffectiveBaseLevel ( ) const

◆ getEffectiveMaxLevel()

GLuint gl::TextureState::getEffectiveMaxLevel ( ) const

◆ getImageDesc()

const ImageDesc & gl::TextureState::getImageDesc ( GLenum  target,
size_t  level 
) const

◆ getMipmapMaxLevel()

GLuint gl::TextureState::getMipmapMaxLevel ( ) const

◆ getSamplerState()

const SamplerState& gl::TextureState::getSamplerState ( ) const
inline

◆ getSwizzleState()

const SwizzleState& gl::TextureState::getSwizzleState ( ) const
inline

◆ getTarget()

GLenum gl::TextureState::getTarget ( ) const
inline

◆ getUsage()

GLenum gl::TextureState::getUsage ( ) const
inline

◆ isCubeComplete()

bool gl::TextureState::isCubeComplete ( ) const

◆ isSamplerComplete()

bool gl::TextureState::isSamplerComplete ( const SamplerState samplerState,
const ContextState data 
) const

◆ setBaseLevel()

bool gl::TextureState::setBaseLevel ( GLuint  baseLevel)

◆ setMaxLevel()

void gl::TextureState::setMaxLevel ( GLuint  maxLevel)

◆ swizzleRequired()

bool gl::TextureState::swizzleRequired ( ) const

Friends And Related Function Documentation

◆ operator==

bool operator== ( const TextureState a,
const TextureState b 
)
friend

◆ rx::TextureGL

friend class rx::TextureGL
friend

◆ Texture

friend class Texture
friend

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