|
| virtual int | array_size () const =0 |
| | Returns the number of textures in the array. More...
|
| |
| virtual std::shared_ptr< Texture2D > | create_2d_view (int array_index, TextureFormat texture_format, int min_level, int num_levels)=0 |
| | Creates a 2D texture view. More...
|
| |
| virtual int | height () const =0 |
| | Retrieves the actual height of the texture in the display. More...
|
| |
| virtual void | set_image (const GraphicContextPtr &context, int array_index, const PixelBufferPtr &image, int level=0)=0 |
| |
| virtual void | set_subimage (const GraphicContextPtr &context, int array_index, int x, int y, const PixelBufferPtr &image, const Rect &src_rect, int level=0)=0 |
| |
| void | set_subimage (const GraphicContextPtr &context, int array_index, const Point &point, const PixelBufferPtr &image, const Rect &src_rect, int level=0) |
| |
| virtual void | set_wrap_mode (TextureWrapMode wrap_s, TextureWrapMode wrap_t)=0 |
| |
| Size | size () const |
| | Retrieves the actual size of the texture. More...
|
| |
| virtual int | width () const =0 |
| | Retrieves the actual width of the texture in the display. More...
|
| |
| virtual TextureWrapMode | wrap_mode_s () const =0 |
| | Get the texture wrap mode for the s coordinate. More...
|
| |
| virtual TextureWrapMode | wrap_mode_t () const =0 |
| | Get the texture wrap mode for the t coordinate. More...
|
| |
| virtual int | base_level () const =0 |
| | Get the texture base level. More...
|
| |
| virtual CompareFunction | compare_function () const =0 |
| | Get the texture compare function. More...
|
| |
| virtual TextureCompareMode | compare_mode () const =0 |
| | Get the texture compare mode. More...
|
| |
| virtual void | generate_mipmap ()=0 |
| | Generate mipmap textures. More...
|
| |
| virtual float | lod_bias () const =0 |
| | Get the level of detail bias constant. More...
|
| |
| virtual TextureFilter | mag_filter () const =0 |
| | Get the texture magnification filter. More...
|
| |
| virtual int | max_level () const =0 |
| | Get the texture max level. More...
|
| |
| virtual float | max_lod () const =0 |
| | Get the maximum level of detail. More...
|
| |
| virtual TextureFilter | min_filter () const =0 |
| | Get the texture minification filter. More...
|
| |
| virtual float | min_lod () const =0 |
| | Get the minimum level of detail. More...
|
| |
| virtual void | set_base_level (int base_level)=0 |
| | Sets the texture base level texture parameter. More...
|
| |
| virtual void | set_lod_bias (float lod_bias)=0 |
| | Sets the level of detail bias constant. More...
|
| |
| virtual void | set_mag_filter (TextureFilter filter)=0 |
| | Set the magnification filter. More...
|
| |
| virtual void | set_max_anisotropy (float max_anisotropy)=0 |
| | Set the maximum degree of anisotropy. More...
|
| |
| virtual void | set_max_level (int max_level)=0 |
| | Sets the texture max level texture parameter. More...
|
| |
| virtual void | set_max_lod (float max_lod)=0 |
| | Set the maximum level of detail texture parameter. More...
|
| |
| virtual void | set_min_filter (TextureFilter filter)=0 |
| | Set the minification filter. More...
|
| |
| virtual void | set_min_lod (float min_lod)=0 |
| | Set the minimum level of detail texture parameter. More...
|
| |
| virtual void | set_texture_compare (TextureCompareMode mode, CompareFunction func)=0 |
| | Sets the texture compare mode and compare function texture parameters. More...
|
| |
| virtual TextureObject * | texture_object ()=0 |
| |
2D texture array object class.