engine
 
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
FAtlasedTextureSlot结构体 参考

Structure holding information about where a texture is located in the atlas. 更多...

#include <TextureAtlas.h>

+ 类 FAtlasedTextureSlot 继承关系图:

Public 属性

uint32 Height
 The height of the character
 
uint8 Padding
 Uniform Padding. 更多...
 
uint32 Width
 The width of the character
 
uint32 X
 The X position of the character in the texture
 
uint32 Y
 The Y position of the character in the texture
 

额外继承的成员函数

- Public 类型 继承自 TLinkedListBase< ContainerType, ElementType, IteratorType >
typedef IteratorType< ContainerType, ElementType > TIterator
 Used to iterate over the elements of a linked list.
 
- Public 成员函数 继承自 TIntrusiveLinkedList< FAtlasedTextureSlot >
 TIntrusiveLinkedList ()
 Default constructor (empty list).
 
- Public 成员函数 继承自 TLinkedListBase< ContainerType, ElementType, IteratorType >
FORCEINLINE bool IsLinked ()
 Returns whether element is currently linked. 更多...
 
FORCEINLINE void LinkAfter (ContainerType *After)
 Adds this element to the linked list, after the specified element 更多...
 
FORCEINLINE void LinkBefore (ContainerType *Before)
 Adds this element to a list, before the given element. 更多...
 
FORCEINLINE void LinkHead (ContainerType *&Head)
 Adds this element as the head of the linked list, linking the input Head pointer to this element, so that when the element is linked/unlinked, the Head linked list pointer will be correctly updated. 更多...
 
FORCEINLINE void LinkReplace (ContainerType *Replace)
 Adds this element to the linked list, replacing the specified element. 更多...
 
 TLinkedListBase ()
 Default constructor (empty list)
 
FORCEINLINE void Unlink ()
 Removes this element from the list in constant time. 更多...
 

详细描述

Structure holding information about where a texture is located in the atlas.

Inherits a linked-list interface.

When a slot is occupied by texture data, the remaining space in the slot (if big enough) is split off into two new (smaller) slots, building a tree of texture rectangles which, instead of being stored as a tree, are flattened into two linked-lists:

类成员变量说明

◆ Padding

uint8 FAtlasedTextureSlot::Padding

Uniform Padding.

can only be zero or one. See ESlateTextureAtlasPaddingStyle.


该结构体的文档由以下文件生成: