|
| texture () |
|
| texture (const neogfx::size &aExtents, dimension aDpiScaleFactor=1.0, texture_sampling aSampling=texture_sampling::NormalMipmap, texture_data_format aDataFormat=texture_data_format::RGBA, texture_data_type aDataType=texture_data_type::UnsignedByte, neogfx::color_space aColorSpace=neogfx::color_space::sRGB, const optional_color &aColor=optional_color{}) |
|
| texture (const i_texture &aTexture) |
|
| texture (const i_image &aImage, texture_data_format aDataFormat=texture_data_format::RGBA, texture_data_type aDataType=texture_data_type::UnsignedByte) |
|
| texture (const i_image &aImage, const rect &aImagePart, texture_data_format aDataFormat=texture_data_format::RGBA, texture_data_type aDataType=texture_data_type::UnsignedByte) |
|
| texture (const i_sub_texture &aSubTexture) |
|
| ~texture () |
|
texture_id | id () const final |
|
i_string const & | uri () const final |
|
rect const & | part () const final |
|
texture_type | type () const final |
|
bool | is_render_target () const final |
|
const i_render_target & | as_render_target () const final |
|
i_render_target & | as_render_target () final |
|
const i_sub_texture & | as_sub_texture () const final |
|
dimension | dpi_scale_factor () const final |
|
neogfx::color_space | color_space () const final |
|
texture_sampling | sampling () const final |
|
uint32_t | samples () const final |
|
texture_data_format | data_format () const final |
|
texture_data_type | data_type () const final |
|
bool | is_empty () const final |
|
size | extents () const final |
|
size | storage_extents () const final |
|
void | set_pixels (const rect &aRect, const void *aPixelData, uint32_t aPackAlignment=4u) final |
|
void | set_pixels (const i_image &aImage) final |
|
void | set_pixels (const i_image &aImage, const rect &aImagePart) final |
|
void | set_pixel (const point &aPosition, const color &aColor) final |
|
color | get_pixel (const point &aPosition) const final |
|
i_vector< texture_line_segment > const & | intersection (texture_line_segment const &aLine, rect const &aBoundingBox, vec2 const &aSampleSize={ 1.0, 1.0 }, scalar aTolerance=0.0) const final |
|
void | bind (std::uint32_t aTextureUnit) const final |
|
void | unbind () const final |
|
intptr_t | native_handle () const final |
|
i_texture & | native_texture () const final |
|
| reference_counted () noexcept |
|
| reference_counted (const reference_counted &aOther) noexcept |
|
| ~reference_counted () |
|
reference_counted & | operator= (const reference_counted &) |
|
void | add_ref () const noexcept override |
|
void | release () const override |
|
int32_t | use_count () const noexcept override |
|
const base_type * | release_and_take_ownership () const override |
|
base_type * | release_and_take_ownership () override |
|
void | pin () const noexcept override |
|
void | unpin () const override |
|
i_ref_control_block & | control_block () override |
|
Definition at line 34 of file texture.hpp.