Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
STK::TextureTransform Class Reference

#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::Vector4fgetTransform () const
 

Public Attributes

STK::Vector4f xfm_
 

Detailed Description

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


The documentation for this class was generated from the following files: