Flutter Engine
The Flutter Engine
|
#include <ResourceTypes.h>
Public Member Functions | |
SamplerDesc (const SkSamplingOptions &samplingOptions, const SkTileMode tileModes[2], const ImmutableSamplerInfo info={}) | |
SamplerDesc ()=default | |
SamplerDesc (const SamplerDesc &)=default | |
bool | operator== (const SamplerDesc &o) const |
bool | operator!= (const SamplerDesc &o) const |
SkTileMode | tileModeX () const |
SkTileMode | tileModeY () const |
uint32_t | desc () const |
uint32_t | format () const |
uint32_t | externalFormatMSBs () const |
bool | isImmutable () const |
bool | usesExternalFormat () const |
SkSamplingOptions | samplingOptions () const |
SkSpan< const uint32_t > | asSpan () const |
Static Public Attributes | |
static constexpr int | kNumTileModeBits = SkNextLog2_portable(int(SkTileMode::kLastTileMode)+1) |
static constexpr int | kNumFilterModeBits = SkNextLog2_portable(int(SkFilterMode::kLast)+1) |
static constexpr int | kNumMipmapModeBits = SkNextLog2_portable(int(SkMipmapMode::kLast)+1) |
static constexpr int | kMaxNumConversionInfoBits |
static constexpr int | kTileModeXShift = 0 |
static constexpr int | kTileModeYShift = kTileModeXShift + kNumTileModeBits |
static constexpr int | kFilterModeShift = kTileModeYShift + kNumTileModeBits |
static constexpr int | kMipmapModeShift = kFilterModeShift + kNumFilterModeBits |
static constexpr int | kImmutableSamplerInfoShift = kMipmapModeShift + kNumMipmapModeBits |
Struct used to describe how a Texture/TextureProxy/TextureProxyView is sampled.
Definition at line 212 of file ResourceTypes.h.
|
inline |
Definition at line 215 of file ResourceTypes.h.
|
default |
|
default |
|
inline |
Definition at line 265 of file ResourceTypes.h.
|
inline |
Definition at line 250 of file ResourceTypes.h.
|
inline |
Definition at line 252 of file ResourceTypes.h.
|
inline |
Definition at line 251 of file ResourceTypes.h.
|
inline |
Definition at line 253 of file ResourceTypes.h.
|
inline |
Definition at line 246 of file ResourceTypes.h.
|
inline |
Definition at line 241 of file ResourceTypes.h.
|
inline |
Definition at line 258 of file ResourceTypes.h.
|
inline |
Definition at line 248 of file ResourceTypes.h.
|
inline |
Definition at line 249 of file ResourceTypes.h.
|
inline |
Definition at line 254 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 280 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 282 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 275 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 281 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 273 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 274 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 272 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 278 of file ResourceTypes.h.
|
staticconstexpr |
Definition at line 279 of file ResourceTypes.h.