Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
GrVkSampler::Key Struct Reference

#include <GrVkSampler.h>

Public Member Functions

 Key (uint32_t samplerKey, const GrVkSamplerYcbcrConversion::Key &ycbcrKey)
 
bool operator== (const Key &that) const
 

Public Attributes

GrVkSamplerYcbcrConversion::Key fYcbcrKey
 
uint32_t fSamplerKey
 
uint32_t fPadding = 0
 

Detailed Description

Definition at line 33 of file GrVkSampler.h.

Constructor & Destructor Documentation

◆ Key()

GrVkSampler::Key::Key ( uint32_t  samplerKey,
const GrVkSamplerYcbcrConversion::Key ycbcrKey 
)
inline

Definition at line 34 of file GrVkSampler.h.

34 {
35 fSamplerKey = samplerKey;
36 fYcbcrKey = ycbcrKey;
37 }
GrVkSamplerYcbcrConversion::Key fYcbcrKey
Definition: GrVkSampler.h:38
uint32_t fSamplerKey
Definition: GrVkSampler.h:39

Member Function Documentation

◆ operator==()

bool GrVkSampler::Key::operator== ( const Key that) const
inline

Definition at line 42 of file GrVkSampler.h.

42 {
43 return this->fSamplerKey == that.fSamplerKey &&
44 this->fYcbcrKey == that.fYcbcrKey;
45 }

Member Data Documentation

◆ fPadding

uint32_t GrVkSampler::Key::fPadding = 0

Definition at line 40 of file GrVkSampler.h.

◆ fSamplerKey

uint32_t GrVkSampler::Key::fSamplerKey

Definition at line 39 of file GrVkSampler.h.

◆ fYcbcrKey

GrVkSamplerYcbcrConversion::Key GrVkSampler::Key::fYcbcrKey

Definition at line 38 of file GrVkSampler.h.


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