Nuke binary plugins 15.1.4
 
Loading...
Searching...
No Matches
DD::Image::Iop::TextureImageInfo Struct Reference

#include <Iop.h>

Public Attributes

int width
 How wide the texture buffer is in texels.
 
int height
 How tall the texture buffer is in texels.
 
int borderSize
 The border size in texels, around the texture.
 
fdk::Vec2i origin
 Location of buffer left/bottom in Iop pixels.
 
fdk::Vec2f scale
 Scaling of texture w/h from Iop pixels to texels.
 
struct DD::Image::Iop::TextureImageInfo::UVTransform uvTransform
 UV coordinates of texture corners.
 

Detailed Description

Texture resolution information. Note that a texture can be sized differently in X & Y to maximize the usage of the buffer from the Iop source, so do not assume the texels have a 1:1 aspect ratio. See the getTextureImageInfo() method for more info.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com