Add min/mag filter to texture creation info
This commit is contained in:
parent
eecc88ddcc
commit
b80aa8ccf2
2 changed files with 1643 additions and 1434 deletions
|
@ -265,6 +265,7 @@ struct GFXTextureCreateInfo {
|
||||||
int mip_count = 1;
|
int mip_count = 1;
|
||||||
|
|
||||||
// sampler
|
// sampler
|
||||||
|
GFXFilter min_filter = GFXFilter::Linear, mag_filter = GFXFilter::Linear;
|
||||||
SamplingMode samplingMode = SamplingMode::Repeat;
|
SamplingMode samplingMode = SamplingMode::Repeat;
|
||||||
GFXBorderColor border_color = GFXBorderColor::OpaqueWhite;
|
GFXBorderColor border_color = GFXBorderColor::OpaqueWhite;
|
||||||
bool compare_enabled = false;
|
bool compare_enabled = false;
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Reference in a new issue