Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 30 of file GrVkSampler.h.

Constructor & Destructor Documentation

◆ Key()

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

Definition at line 31 of file GrVkSampler.h.

31 {
32 fSamplerKey = samplerKey;
33 fYcbcrKey = ycbcrKey;
34 }
GrVkSamplerYcbcrConversion::Key fYcbcrKey
Definition GrVkSampler.h:35
uint32_t fSamplerKey
Definition GrVkSampler.h:36

Member Function Documentation

◆ operator==()

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

Definition at line 39 of file GrVkSampler.h.

39 {
40 return this->fSamplerKey == that.fSamplerKey &&
41 this->fYcbcrKey == that.fYcbcrKey;
42 }

Member Data Documentation

◆ fPadding

uint32_t GrVkSampler::Key::fPadding = 0

Definition at line 37 of file GrVkSampler.h.

◆ fSamplerKey

uint32_t GrVkSampler::Key::fSamplerKey

Definition at line 36 of file GrVkSampler.h.

◆ fYcbcrKey

GrVkSamplerYcbcrConversion::Key GrVkSampler::Key::fYcbcrKey

Definition at line 35 of file GrVkSampler.h.


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