MCPcopy Create free account
hub / github.com/Tencent/tgfx / GradientTexture

Method GradientTexture

src/gpu/GlobalCache.h:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 private:
77 struct GradientTexture {
78 GradientTexture(std::shared_ptr<TextureProxy> textureProxy, BytesKey gradientKey)
79 : textureProxy(std::move(textureProxy)), gradientKey(std::move(gradientKey)) {
80 }
81
82 std::shared_ptr<TextureProxy> textureProxy = nullptr;
83 BytesKey gradientKey = {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected