DD::Image::Iop::TextureImage Struct Reference

Public Attributes

int width
 How wide the texture is.
 
int height
 How tall the texture is.
 
int depth
 How many components a texel has.
 
int border
 The border around the texture.
 
float ux
 Left UV coordinate.
 
float uy
 Bottom UV coordinate.
 
float uw
 Right UV coordinate.
 
float uh
 Top UV coordinate.
 
std::shared_ptr< unsigned char > buffer
 Points to the texture data.
 

Detailed Description

Holds texture information as created by set_texturemap.



©2022 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk