33 #include "graphic_context.h"
34 #include "../Image/image_import_description.h"
35 #include "../Image/texture_format.h"
45 class TextureProvider;
52 class TextureCubeArray;
101 virtual float min_lod()
const = 0;
104 virtual float max_lod()
const = 0;
virtual TextureFilter mag_filter() const =0
Get the texture magnification filter.
TextureFilter
Texture filters.
Definition: texture.h:64
Texture object class.
Definition: texture.h:94
virtual void set_max_level(int max_level)=0
Sets the texture max level texture parameter.
virtual void set_min_lod(float min_lod)=0
Set the minimum level of detail texture parameter.
virtual void generate_mipmap()=0
Generate mipmap textures.
std::shared_ptr< Texture > TexturePtr
Definition: d3d_target.h:37
virtual void set_max_anisotropy(float max_anisotropy)=0
Set the maximum degree of anisotropy.
virtual CompareFunction compare_function() const =0
Get the texture compare function.
virtual float min_lod() const =0
Get the minimum level of detail.
virtual TextureObject * texture_object()=0
virtual int base_level() const =0
Get the texture base level.
virtual float max_lod() const =0
Get the maximum level of detail.
CompareFunction
Compare functions.
Definition: graphic_context.h:95
static std::shared_ptr< Texture > create(const GraphicContextPtr &gc, PixelBufferSetPtr pixelbuffer_set)
Constructs a texture as described by a pixelbuffer set.
TextureCompareMode
Texture compare modes.
Definition: texture.h:75
virtual void set_max_lod(float max_lod)=0
Set the maximum level of detail texture parameter.
virtual int max_level() const =0
Get the texture max level.
virtual void set_texture_compare(TextureCompareMode mode, CompareFunction func)=0
Sets the texture compare mode and compare function texture parameters.
virtual TextureCompareMode compare_mode() const =0
Get the texture compare mode.
TextureDimensions
Texture dimensions.
Definition: texture.h:82
virtual void set_base_level(int base_level)=0
Sets the texture base level texture parameter.
virtual void set_mag_filter(TextureFilter filter)=0
Set the magnification filter.
std::shared_ptr< GraphicContext > GraphicContextPtr
Definition: d3d_target.h:49
virtual void set_lod_bias(float lod_bias)=0
Sets the level of detail bias constant.
virtual float lod_bias() const =0
Get the level of detail bias constant.
TextureWrapMode
Texture coordinate wrapping modes.
Definition: texture.h:56
virtual TextureFilter min_filter() const =0
Get the texture minification filter.
std::shared_ptr< PixelBufferSet > PixelBufferSetPtr
Definition: pixel_buffer_set.h:79
Definition: Application/application.h:35
virtual void set_min_filter(TextureFilter filter)=0
Set the minification filter.