#include <sub_texture.hpp>
|
| sub_texture (texture_id aAtlasId, i_texture &aAtlasTexture, const rect &aAtlasLocation, const size &aExtents) |
|
| sub_texture (const i_sub_texture &aSubTexture) |
|
| sub_texture (const i_sub_texture &aSubTexture, const rect &aAtlasLocation) |
|
| ~sub_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 |
|
texture_id | atlas_id () const final |
|
i_texture & | atlas_texture () const final |
|
const rect & | atlas_location () 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 29 of file sub_texture.hpp.
◆ sub_texture() [1/3]
neogfx::sub_texture::sub_texture |
( |
texture_id |
aAtlasId, |
|
|
i_texture & |
aAtlasTexture, |
|
|
const rect & |
aAtlasLocation, |
|
|
const size & |
aExtents |
|
) |
| |
◆ sub_texture() [2/3]
neogfx::sub_texture::sub_texture |
( |
const i_sub_texture & |
aSubTexture | ) |
|
◆ sub_texture() [3/3]
neogfx::sub_texture::sub_texture |
( |
const i_sub_texture & |
aSubTexture, |
|
|
const rect & |
aAtlasLocation |
|
) |
| |
◆ ~sub_texture()
neogfx::sub_texture::~sub_texture |
( |
| ) |
|
◆ as_render_target() [1/2]
◆ as_render_target() [2/2]
◆ as_sub_texture()
const i_sub_texture & neogfx::sub_texture::as_sub_texture |
( |
| ) |
const |
|
final |
◆ atlas_id()
texture_id neogfx::sub_texture::atlas_id |
( |
| ) |
const |
|
final |
◆ atlas_location()
const rect & neogfx::sub_texture::atlas_location |
( |
| ) |
const |
|
final |
◆ atlas_texture()
i_texture & neogfx::sub_texture::atlas_texture |
( |
| ) |
const |
|
final |
◆ bind()
void neogfx::sub_texture::bind |
( |
std::uint32_t |
aTextureUnit | ) |
const |
|
final |
◆ color_space()
◆ data_format()
◆ data_type()
◆ dpi_scale_factor()
dimension neogfx::sub_texture::dpi_scale_factor |
( |
| ) |
const |
|
final |
◆ extents()
size neogfx::sub_texture::extents |
( |
| ) |
const |
|
final |
◆ get_pixel()
color neogfx::sub_texture::get_pixel |
( |
const point & |
aPosition | ) |
const |
|
final |
◆ id()
◆ intersection()
◆ is_empty()
bool neogfx::sub_texture::is_empty |
( |
| ) |
const |
|
final |
◆ is_render_target()
bool neogfx::sub_texture::is_render_target |
( |
| ) |
const |
|
final |
◆ native_handle()
intptr_t neogfx::sub_texture::native_handle |
( |
| ) |
const |
|
final |
◆ native_texture()
i_texture & neogfx::sub_texture::native_texture |
( |
| ) |
const |
|
final |
◆ part()
rect const & neogfx::sub_texture::part |
( |
| ) |
const |
|
final |
◆ samples()
uint32_t neogfx::sub_texture::samples |
( |
| ) |
const |
|
final |
◆ sampling()
◆ set_pixel()
void neogfx::sub_texture::set_pixel |
( |
const point & |
aPosition, |
|
|
const color & |
aColor |
|
) |
| |
|
final |
◆ set_pixels() [1/3]
void neogfx::sub_texture::set_pixels |
( |
const i_image & |
aImage | ) |
|
|
final |
◆ set_pixels() [2/3]
void neogfx::sub_texture::set_pixels |
( |
const i_image & |
aImage, |
|
|
const rect & |
aImagePart |
|
) |
| |
|
final |
◆ set_pixels() [3/3]
void neogfx::sub_texture::set_pixels |
( |
const rect & |
aRect, |
|
|
const void * |
aPixelData, |
|
|
uint32_t |
aPackAlignment = 4u |
|
) |
| |
|
final |
◆ storage_extents()
size neogfx::sub_texture::storage_extents |
( |
| ) |
const |
|
final |
◆ type()
◆ unbind()
void neogfx::sub_texture::unbind |
( |
| ) |
const |
|
final |
◆ uri()
i_string const & neogfx::sub_texture::uri |
( |
| ) |
const |
|
final |
The documentation for this class was generated from the following file: