|
| CU_DeclareVector (Vertex, Vertex) |
|
| CU_DeclareMap (char32_t, castor::Position, GlyphPosition) |
|
C3D_API | TextOverlay () |
| Constructeur.
|
|
C3D_API void | accept (OverlayVisitor &visitor) const override |
| Dessine l'incrustation.
|
|
C3D_API uint32_t | getCount (bool) const |
|
C3D_API float | fillBuffer (uint32_t overlayIndex, castor::ArrayView< TextChar > texts, castor::ArrayView< TextWord > words, castor::ArrayView< TextLine > lines) const |
| Remplit les tampons de texte donnés.
|
|
C3D_API void | setFont (castor::String value) |
| Définit la police du texte.
|
|
|
|
bool | isChanged () const noexcept override |
|
castor::String const & | getFontName () const |
|
FontTextureRPtr | getFontTexture () const |
|
std::u32string | getCaption () const |
|
TextWrappingMode | getTextWrappingMode () const |
|
HAlign | getHAlign () const |
|
VAlign | getVAlign () const |
|
TextTexturingMode | getTexturingMode () const |
|
TextLineSpacingMode | getLineSpacingMode () const |
|
uint32_t | getCharCount () const noexcept |
|
uint32_t | getWordCount () const noexcept |
|
uint32_t | getLineCount () const noexcept |
|
|
|
void | setCaption (std::u32string value) |
|
void | setTextWrappingMode (TextWrappingMode value) |
|
void | setHAlign (HAlign value) |
|
void | setVAlign (VAlign value) |
|
void | setTexturingMode (TextTexturingMode value) |
|
void | setLineSpacingMode (TextLineSpacingMode value) |
|
| CU_DeclareVector (Vertex, Vertex) |
|
C3D_API | OverlayCategory (OverlayType type) |
| Constructeur.
|
|
virtual C3D_API | ~OverlayCategory () |
| Destructeur.
|
|
C3D_API void | update (OverlayRenderer const &renderer) |
| Met à jour la position, taille...
|
|
C3D_API void | reset () |
| Marque cette catégorie comme propre.
|
|
virtual C3D_API void | accept (OverlayVisitor &renderer) const =0 |
| Dessine l'incrustation.
|
|
virtual C3D_API void | setMaterial (MaterialObs material) |
| Définit le matériau.
|
|
C3D_API castor::String const & | getOverlayName () const |
| Récupère le nom de l'incrustation.
|
|
C3D_API castor::Position | getAbsolutePosition (castor::Size const &size) const |
| Récupère la position absolue de l'incrustation, en pixels.
|
|
C3D_API castor::Size | getAbsoluteSize (castor::Size const &size) const |
| Récupère la taille absolue de l'incrustation, en pixels.
|
|
C3D_API castor::Point2d | getRenderRatio (castor::Size const &size) const |
|
C3D_API castor::Point2d | getAbsolutePosition () const |
| Récupère la position absolue de l'incrustation.
|
|
C3D_API castor::Point2d | getAbsoluteSize () const |
| Récupère la taille absolue de l'incrustation.
|
|
C3D_API bool | isSizeChanged () const |
|
C3D_API bool | isPositionChanged () const |
|
C3D_API castor::Size | computePixelSize () const |
| Récupère la taille de l'incrustation.
|
|
C3D_API castor::Position | computePixelPosition () const |
| Récupère la position de l'incrustation.
|
|
C3D_API castor::Point4d | computeScissorRect () const |
| Met à jour le scissor pour cette incrustation.
|
|
bool | hasAnyChange () const noexcept |
|
castor::Point4d const & | getDisplayRect () const noexcept |
|
castor::Point2d const & | getRelativeSize () const noexcept |
|
castor::Point2d const & | getRelativePosition () const noexcept |
|
OverlayType | getType () const noexcept |
|
bool | isVisible () const noexcept |
|
bool | isDisplayable () const noexcept |
|
MaterialObs | getMaterial () const noexcept |
|
uint32_t | getIndex () const noexcept |
|
uint32_t | getLevel () const noexcept |
|
Overlay const & | getOverlay () const noexcept |
|
Overlay & | getOverlay () noexcept |
|
castor::Point4d const & | getUV () const noexcept |
|
bool | hasPixelPosition () const noexcept |
|
bool | hasPixelSize () const noexcept |
|
castor::Position const & | getPixelPosition () const noexcept |
|
castor::Size const & | getPixelSize () const noexcept |
|
void | setRelativePosition (castor::Point2d const &value) noexcept |
|
void | setRelativeSize (castor::Point2d const &value) noexcept |
|
void | setPixelPosition (castor::Position const &value) noexcept |
|
void | setPixelSize (castor::Size const &value) noexcept |
|
void | setOverlay (Overlay *value) noexcept |
|
void | setVisible (bool value) noexcept |
|
void | setOrder (uint32_t level, uint32_t index) noexcept |
|
void | setUV (castor::Point4d const &value) noexcept |
|