mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 10:55:45 +00:00
Add colorfront and txtcoord support
This commit is contained in:
parent
5f19b66189
commit
73b11f390e
5 changed files with 57 additions and 0 deletions
|
@ -222,8 +222,13 @@ enum class Attribute : u64 {
|
|||
FrontFace = 255,
|
||||
};
|
||||
|
||||
constexpr size_t NUM_TXT_COORD = 10;
|
||||
constexpr size_t NUM_GENERICS = 32;
|
||||
|
||||
[[nodiscard]] u32 TxtCoordAttributeIndex(Attribute attribute);
|
||||
|
||||
[[nodiscard]] u32 TxtCoordAttributeElement(Attribute attribute);
|
||||
|
||||
[[nodiscard]] bool IsGeneric(Attribute attribute) noexcept;
|
||||
|
||||
[[nodiscard]] u32 GenericAttributeIndex(Attribute attribute);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue