mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(component): implement CCharacterComponent::RenderPrepAL
This commit is contained in:
parent
904782c8df
commit
32e8b11233
@ -117,7 +117,14 @@ void CCharacterComponent::InitDbData() {
|
||||
// TODO CountFacialFeatures(varArrayLength, &CCharacterComponent::s_characterFacialHairStylesList);
|
||||
}
|
||||
|
||||
void CCharacterComponent::PasteFromSkin(COMPONENT_SECTIONS section, void* srcTexture, MipBits* dstMips) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CCharacterComponent::RenderPrepAL(CCharacterComponent* component) {
|
||||
auto skin = component->m_texture[TEXTURE_INDEX(VARIATION_SKIN, 0)];
|
||||
CCharacterComponent::PasteFromSkin(SECTION_ARM_LOWER, skin, CCharacterComponent::s_textureBuffer);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
||||
@ -86,6 +86,7 @@ class CCharacterComponent {
|
||||
static void RenderPrepLU(CCharacterComponent* component);
|
||||
static void RenderPrepTL(CCharacterComponent* component);
|
||||
static void RenderPrepTU(CCharacterComponent* component);
|
||||
static void PasteFromSkin(COMPONENT_SECTIONS section, void* srcTexture, MipBits* dstMips);
|
||||
static void UpdateBaseTexture(EGxTexCommand cmd, uint32_t width, uint32_t height, uint32_t depth, uint32_t mipLevel, void* userArg, uint32_t& texelStrideInBytes, const void*& texels);
|
||||
|
||||
// Member variables
|
||||
|
||||
Loading…
Reference in New Issue
Block a user