|
cgv
|
base interface for a texture More...
#include <context.h>
Public Member Functions | |
| texture_base (TextureType _tt=TT_UNDEF) | |
| initialize members | |
Public Member Functions inherited from cgv::render::render_component | |
| render_component () | |
| initialize members | |
| virtual bool | is_created () const |
| return whether component has been created | |
| void | put_id_void (void *ptr) const |
| copy the rendering api specific id the component to the memory location of the given pointer. | |
| template<typename T > | |
| void | put_id (T &id) const |
| cast the refence to rendering api specific representation of component id to the specified type | |
Public Attributes | |
| TextureFilter | mag_filter |
| TextureFilter | min_filter |
| TextureWrap | wrap_s |
| TextureWrap | wrap_t |
| TextureWrap | wrap_r |
| float | anisotropy |
| float | priority |
| float | border_color [4] |
| CompareFunction | compare_function |
| bool | use_compare_function |
| TextureType | tt |
| bool | have_mipmaps |
| unsigned | nr_multi_samples = 5 |
| bool | fixed_sample_locations = true |
Public Attributes inherited from cgv::render::render_component | |
| void * | handle |
| void * | internal_format |
| void * | user_data |
| const context * | ctx_ptr |
| keep pointer to my context | |
| std::string | last_error |
| a string that contains the last error | |
| cgv::render::texture_base::texture_base | ( | TextureType | _tt = TT_UNDEF | ) |
initialize members
Definition at line 2085 of file context.cxx.
| CompareFunction cgv::render::texture_base::compare_function |
| bool cgv::render::texture_base::fixed_sample_locations = true |
| TextureFilter cgv::render::texture_base::mag_filter |
| TextureFilter cgv::render::texture_base::min_filter |
| TextureType cgv::render::texture_base::tt |
| TextureWrap cgv::render::texture_base::wrap_r |
| TextureWrap cgv::render::texture_base::wrap_s |
| TextureWrap cgv::render::texture_base::wrap_t |