| 78 | } |
| 79 | |
| 80 | RenderPassReflection ImageLoader::reflect(const CompileData& compileData) |
| 81 | { |
| 82 | RenderPassReflection reflector; |
| 83 | uint2 fixedSize = mpTex ? uint2(mpTex->getWidth(), mpTex->getHeight()) : uint2(0); |
| 84 | const uint2 sz = RenderPassHelpers::calculateIOSize(mOutputSizeSelection, fixedSize, compileData.defaultTexDims); |
| 85 | |
| 86 | reflector.addOutput(kDst, "Destination texture").format(mOutputFormat).texture2D(sz.x, sz.y); |
| 87 | return reflector; |
| 88 | } |
| 89 | |
| 90 | Properties ImageLoader::getProperties() const |
| 91 | { |