; Clara

; Constants -------------------------

[Constants]
global $active = 0
global $creditinfo = 0

[Present]
post $active = 0
run = CommandListCreditInfo

; Overrides -------------------------

[TextureOverrideClaraHairPosition]
hash = 8c56882c
handling = skip
vb0 = ResourceClaraHairPosition
vb2 = ResourceClaraHairBlend
draw = 4307,0
$active = 1

[TextureOverrideClaraHairTexcoord]
hash = 572f5b77
vb1 = ResourceClaraHairTexcoord

[TextureOverrideClaraHairVertexLimitRaise]
hash = 7365de7c

[TextureOverrideClaraBodyPosition]
hash = 696fa077
handling = skip
vb0 = ResourceClaraBodyPosition
vb2 = ResourceClaraBodyBlend
draw = 121346,0
$active = 1

[TextureOverrideClaraBodyTexcoord]
hash = 5dfa8761
vb1 = ResourceClaraBodyTexcoord

[TextureOverrideClaraBodyVertexLimitRaise]
hash = da981c17

[TextureOverrideClaraHairIB]
hash = 58982bbd
handling = skip
drawindexed = auto

[TextureOverrideClaraHairA]
hash = 58982bbd
match_first_index = 0
ib = ResourceClaraHairAIB
ps-t0 = ResourceClaraHairADiffuse
ps-t1 = ResourceClaraHairALightMap

[TextureOverrideClaraBodyIB]
hash = f92afebc
handling = skip
drawindexed = auto

[TextureOverrideClaraBodyA]
hash = f92afebc
match_first_index = 0
ib = null
ps-t0 = ResourceClaraBodyADiffuse
ps-t1 = ResourceClaraBodyALightMap

[TextureOverrideClaraBodyB]
hash = f92afebc
match_first_index = 19293
ib = ResourceClaraBodyBIB
ps-t0 = ResourceClaraBodyBDiffuse
ps-t1 = ResourceClaraBodyBLightMap

; CommandList -----------------------

[CommandListCreditInfo]
if $creditinfo == 0 && $active == 1
	pre Resource\ShaderFixes\help.ini\Notification = ResourceCreditInfo
	pre run = CustomShader\ShaderFixes\help.ini\FormatText
	pre $\ShaderFixes\help.ini\notification_timeout = time + 5.0
	$creditinfo = 1
endif

; Resources -------------------------

[ResourceClaraHairPosition]
type = Buffer
stride = 40
filename = ClaraHairPosition.buf

[ResourceClaraHairBlend]
type = Buffer
stride = 32
filename = ClaraHairBlend.buf

[ResourceClaraHairTexcoord]
type = Buffer
stride = 8
filename = ClaraHairTexcoord.buf

[ResourceClaraBodyPosition]
type = Buffer
stride = 40
filename = ClaraBodyPosition.buf

[ResourceClaraBodyBlend]
type = Buffer
stride = 32
filename = ClaraBodyBlend.buf

[ResourceClaraBodyTexcoord]
type = Buffer
stride = 12
filename = ClaraBodyTexcoord.buf

[ResourceClaraHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = ClaraHairA.ib

[ResourceClaraBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = ClaraBodyA.ib

[ResourceClaraBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = ClaraBodyB.ib

[ResourceClaraHairADiffuse]
filename = ClaraHairADiffuse.dds

[ResourceClaraHairALightMap]
filename = ClaraHairALightMap.dds

[ResourceClaraBodyADiffuse]
filename = ClaraBodyADiffuse.dds

[ResourceClaraBodyALightMap]
filename = ClaraBodyALightMap.dds

[ResourceClaraBodyBDiffuse]
filename = ClaraBodyBDiffuse.dds

[ResourceClaraBodyBLightMap]
filename = ClaraBodyBLightMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by Snaccubus"


; .ini generated by GIMI (Genshin-Impact-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/SilentNightSound/GI-Model-Importer/issues or contact SilentNightSound#7430 on discord