Common types used across the LyShine UI system. More...
Classes | |
class | CanvasAsset |
class | FontAsset |
class | IRenderGraph |
class | LyShineChildPass |
class | LyShineFeatureProcessor |
class | LyShineModule |
class | LyShinePass |
Manages child passes at runtime that render to render targets. More... | |
class | LyShineRequests |
class | LyShineSystemComponent |
class | MaskRenderNode |
class | PrimitiveListRenderNode |
class | RenderGraph |
class | RenderNode |
class | RenderTargetRenderNode |
class | RenderToTextureRequests |
Ebus to handle render target requests. More... | |
class | RttChildPass |
struct | UCol |
class | UiCanvasBuilderWorker |
struct | UiPrimitive |
struct | UiPrimitiveVertex |
Typedefs | |
using | LyShineRequestBus = AZ::EBus< LyShineRequests > |
typedef AZStd::string | NameType |
used for UI element names and canvas names, should be the same as the AZ::Entity name type | |
typedef AZStd::string | PathnameType |
Used for pathnames for UI canvas and prefab files. | |
typedef unsigned int | CanvasId |
typedef unsigned int | ElementId |
typedef AZStd::string | ActionName |
Used for UI action names. | |
typedef AZStd::string | StringType |
Used for test strings in UI text elements. | |
typedef AZStd::vector< AZ::Entity * > | EntityArray |
Used for passing lists of entities. | |
typedef AZStd::unordered_map< AZ::EntityId, AZ::EntityId > | EntityIdMap |
using | UiIndice = AZ::u16 |
using | UiPrimitiveList = AZStd::intrusive_slist< UiPrimitive, AZStd::slist_base_hook< UiPrimitive > > |
using | AZu32ComboBoxVec = AZStd::vector< AZStd::pair< AZ::u32, AZStd::string > > |
using | AttachmentImages = AZStd::vector< AZ::Data::Instance< AZ::RPI::AttachmentImage > > |
using | AttachmentImageAndDependentsPair = AZStd::pair< AZ::Data::Instance< AZ::RPI::AttachmentImage >, AttachmentImages > |
using | AttachmentImagesAndDependencies = AZStd::vector< AttachmentImageAndDependentsPair > |
using | RenderToTextureRequestBus = AZ::EBus< RenderToTextureRequests > |
Enumerations | |
enum class | BlendMode { Normal , Add , Screen , Darken , Lighten } |
enum | RenderNodeType { PrimitiveList , Mask , RenderTarget } |
enum class | AlphaMaskType { None , ModulateAlpha , ModulateAlphaAndColor } |
Functions | |
bool | IsUiLayoutCellSizeSpecified (float size) |
template<typename T > | |
bool | ConvertSubElementFromAzStringToAssetRef (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement, const char *subElementName) |
bool | ConvertSubElementFromCharToUInt32 (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement, const char *subElementName) |
template<typename T > | |
bool | GetSubElementValue (AZ::SerializeContext::DataElementNode &classElement, const char *elementName, T &value) |
ColorF | MakeColorF (AZ::Vector3 color, float alpha) |
AZ::Vector3 | MakeColorVector3 (ColorF color) |
AZ::Color | MakeColorAZColor (ColorF color) |
bool | ConvertSubElementFromColorToColorPlusAlpha (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement, const char *colorElementName, const char *alphaElementName) |
bool | ConvertSubElementFromVector3ToAzColor (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement, const char *colorElementName) |
bool | ConvertSubElementFromColorFToAzColor (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement, const char *colorElementName) |
bool | RemoveRenderTargetAsString (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement, const char *renderTargetStringElementName) |
bool | ConvertSubElementFromVec2ToVector2 (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement, const char *vec2ElementName) |
bool | MoveElement (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &srcElement, AZ::SerializeContext::DataElementNode &dstElement, const char *srcSubElementName, const char *dstSubElementName) |
bool | RemoveLeadingForwardSlashesFromAssetPath (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement, const char *simpleAssetRefSubElementName) |
AZ::SerializeContext::DataElementNode * | FindComponentNode (AZ::SerializeContext::DataElementNode &entityNode, const AZ::Uuid &uuid) |
bool | CreateEntityIdNode (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &entityNode) |
bool | CreateComponentBaseClassNode (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &componentNode) |
AZu32ComboBoxVec | GetEnumSpriteIndexList (AZ::EntityId entityId, AZ::u32 indexMin, AZ::u32 indexMax, const char *errorMessage="") |
Returns a string enumeration list for the given min/max value ranges. | |
int | GetUtf8StringLength (const AZStd::string &utf8String) |
Returns the number of UTF8 characters in a string. | |
int | GetMultiByteCharSize (const uint32_t multiByteChar) |
Returns the number of bytes of the size of the given multi-byte char. | |
int | GetByteLengthOfUtf8Chars (const char *utf8String, int numUtf8Chars) |
Common types used across the LyShine UI system.
Common types used across the LyShine UI layout cell system.
typedef unsigned int LyShine::CanvasId |
USed for our 32-bit id's for canvases and elements. Only used so FlowGraph can reference these things These should go away once FlowGraph can used AZ::EntityIds
|
strong |
|
inline |
Returns the number of UTF8 characters in a string.
AZStd::string::length() counts individual bytes in the string buffer whereas this function will consider multi-byte chars as one element/ character in the string.