Loading...
Searching...
No Matches
hellfire::TextureSettings Struct Reference

#include <Texture.h>

Collaboration diagram for hellfire::TextureSettings:

Static Public Member Functions

static TextureSettings for_type (TextureType type)
 

Public Attributes

TextureFilter min_filter = TextureFilter::LINEAR
 
TextureFilter mag_filter = TextureFilter::LINEAR
 
TextureWrap wrap_s = TextureWrap::REPEAT
 
TextureWrap wrap_t = TextureWrap::REPEAT
 
bool generate_mipmaps = true
 
bool flip_vertically = false
 
int max_size = -1
 

Detailed Description

Definition at line 39 of file Texture.h.

Member Function Documentation

◆ for_type()

TextureSettings hellfire::TextureSettings::for_type ( TextureType  type)
static

Definition at line 16 of file Texture.cpp.

Member Data Documentation

◆ flip_vertically

bool hellfire::TextureSettings::flip_vertically = false

Definition at line 45 of file Texture.h.

◆ generate_mipmaps

bool hellfire::TextureSettings::generate_mipmaps = true

Definition at line 44 of file Texture.h.

◆ mag_filter

TextureFilter hellfire::TextureSettings::mag_filter = TextureFilter::LINEAR

Definition at line 41 of file Texture.h.

◆ max_size

int hellfire::TextureSettings::max_size = -1

Definition at line 47 of file Texture.h.

◆ min_filter

TextureFilter hellfire::TextureSettings::min_filter = TextureFilter::LINEAR

Definition at line 40 of file Texture.h.

◆ wrap_s

TextureWrap hellfire::TextureSettings::wrap_s = TextureWrap::REPEAT

Definition at line 42 of file Texture.h.

◆ wrap_t

TextureWrap hellfire::TextureSettings::wrap_t = TextureWrap::REPEAT

Definition at line 43 of file Texture.h.


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