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

Method DeviceSpaceTextureEffect

src/gpu/processors/DeviceSpaceTextureEffect.cpp:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21namespace tgfx {
22DeviceSpaceTextureEffect::DeviceSpaceTextureEffect(std::shared_ptr<TextureProxy> textureProxy,
23 const Matrix& uvMatrix)
24 : FragmentProcessor(ClassID()), textureProxy(std::move(textureProxy)), uvMatrix(uvMatrix) {
25}
26
27GPUTexture* DeviceSpaceTextureEffect::onTextureAt(size_t) const {
28 auto textureView = textureProxy->getTextureView();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected