|
| | CU_DeclareVector (Vertex, Vertex) |
| |
| | CU_DeclareMap (char32_t, castor::Position, GlyphPosition) |
| |
| C3D_API | TextOverlay () |
| | Constructor.
|
| |
| C3D_API void | accept (OverlayVisitor &visitor) const override |
| | Draws the overlay.
|
| |
| 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 noexcept |
| | Fills the text buffers.
|
| |
| C3D_API void | setFont (castor::String const &value) |
| | Sets the text font.
|
| |
|
|
| bool | isChanged () const noexcept override |
| |
| castor::String const & | getFontName () const |
| |
| FontTextureRPtr | getFontTexture () const |
| |
| castor::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 |
| |
| uint32_t | getSDFHeight () const noexcept |
| |
|
|
| void | setCaption (castor::U32String value) noexcept |
| |
| void | setTextWrappingMode (TextWrappingMode value) noexcept |
| |
| void | setHAlign (HAlign value) noexcept |
| |
| void | setVAlign (VAlign value) noexcept |
| |
| void | setTexturingMode (TextTexturingMode value) noexcept |
| |
| void | setLineSpacingMode (TextLineSpacingMode value) noexcept |
| |
| void | setSDFHeight (uint32_t value) noexcept |
| |
| | CU_DeclareVector (Vertex, Vertex) |
| |
| C3D_API | OverlayCategory (OverlayType type) |
| | Constructor.
|
| |
| virtual C3D_API | ~OverlayCategory () noexcept=default |
| | Destructor.
|
| |
| C3D_API void | update (OverlayRenderer const &renderer) |
| | Updates the overlay position, size...
|
| |
| C3D_API void | reset () |
| | Marks this cetegory as clean.
|
| |
| virtual C3D_API void | setMaterial (MaterialObs material) |
| | Sets the material.
|
| |
| C3D_API castor::String const & | getOverlayName () const |
| | Retrieves the overlay name.
|
| |
| C3D_API castor::Position | getAbsolutePosition (castor::Size const &size) const |
| | Retrieves the absolute overlay position, in pixels.
|
| |
| C3D_API castor::Size | getAbsoluteSize (castor::Size const &size) const |
| | Retrieves the absolute overlay size, in pixels.
|
| |
| C3D_API castor::Point2d | getRenderRatio (castor::Size const &size) const |
| |
| C3D_API castor::Point2d | getAbsolutePosition () const |
| | Retrieves the absolute overlay position.
|
| |
| C3D_API castor::Point2d | getAbsoluteSize () const |
| | Retrieves the absolute overlay size.
|
| |
| C3D_API bool | isSizeChanged () const |
| |
| C3D_API bool | isPositionChanged () const |
| |
| C3D_API castor::Size | computePixelSize () const |
| | Retrieves the overlay size.
|
| |
| C3D_API castor::Position | computePixelPosition () const |
| | Retrieves the overlay position.
|
| |
| C3D_API castor::Point4d | computeScissorRect () const |
| | Updates the scissor for this overlay.
|
| |
| 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 |
| |