Lagrange
Texture Struct Reference

Public Types

enum  TextureFilter : int {
  Undefined = 0 , Nearest = 9728 , Linear = 9729 , NearestMimpapNearest = 9984 ,
  LinearMipmapNearest = 9985 , NearestMipmapLinear = 9986 , LinearMipmapLinear = 9987
}
 
enum class  WrapMode { Wrap , Clamp , Decal , Mirror }
 

Public Attributes

std::string name
 
ElementId image = invalid<ElementId>()
 
TextureFilter mag_filter = TextureFilter::Undefined
 
TextureFilter min_filter = TextureFilter::Undefined
 
WrapMode wrap_u = WrapMode::Wrap
 
WrapMode wrap_v = WrapMode::Wrap
 
Eigen::Vector2f scale = Eigen::Vector2f::Ones()
 
Eigen::Vector2f offset = Eigen::Vector2f::Zero()
 
float rotation = 0.0f
 
Extensions extensions
 

The documentation for this struct was generated from the following file: