![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <StkTextureTransform.h>
Public Member Functions | |
TextureTransform (float ox=0.0f, float oy=0.0f, float sx=1.0f, float sy=1.0f) | |
void | setOffxetX (float ox) |
void | setOffsetY (float oy) |
void | setScaleX (float sx) |
void | setScaleY (float sy) |
float | getOffsetX () const |
float | getOffsetY () const |
float | getScaleY () const |
float | getScaleX () const |
const STK::Vector4f & | getTransform () const |
Public Attributes | |
STK::Vector4f | xfm_ |
TextureTransform - Linear transform for texture coordinates. Can be used as a uniform in shaders, encoded as a 4D vector where X = Offset U Y = Offset V Z = Scale U W = Scale V