; Jingliu

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

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

[TextureOverrideJingliuHairPosition]
hash = 35f278be
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	handling = skip
	vb0 = ResourceJingliuHairPosition
	vb2 = ResourceJingliuHairBlend
	draw = 3380,0
endif

	
[TextureOverrideJingliuHairTexcoord]
hash = 7333f114
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	vb1 = ResourceJingliuHairTexcoord
endif

	
[TextureOverrideJingliuHairVertexLimitRaise]
hash = 11ff289a
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
endif

	
[TextureOverrideJingliuBodyPosition]
hash = c029dc36
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	handling = skip
	vb0 = ResourceJingliuBodyPosition
	vb2 = ResourceJingliuBodyBlend
	draw = 39071,0
endif

	
[TextureOverrideJingliuBodyTexcoord]
hash = ba517fa0
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	vb1 = ResourceJingliuBodyTexcoord
endif

	
[TextureOverrideJingliuBodyVertexLimitRaise]
hash = 73de6056
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
endif

	
[TextureOverrideJingliuHairIB]
hash = afec4cc3
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	handling = skip
	drawindexed = auto
endif

	
[TextureOverrideJingliuHairA]
hash = afec4cc3
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	match_first_index = 0
	ib = ResourceJingliuHairAIB
endif

	
[TextureOverrideJingliuHairADiffuse]
hash = 1bc1cfa0
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	this = ResourceJingliuHairADiffuse
endif

	
[TextureOverrideJingliuHairALightMap]
hash = fbcefb7e
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	this = ResourceJingliuHairALightMap
endif

	
[TextureOverrideJingliuBodyIB]
hash = e8d31b6a
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	handling = skip
	drawindexed = auto
endif

	
[TextureOverrideJingliuBodyA]
hash = e8d31b6a
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	match_first_index = 51096
	ib = ResourceJingliuBodyAIB
	ps-t0 = ResourceJingliuBodyADiffuse
	ps-t1 = ResourceJingliuBodyALightMap
endif

	
; CommandList -----------------------	
; Resources -------------------------	
[ResourceJingliuHairPosition]
type = Buffer
stride = 40
filename = JingliuHairPosition.buf

[ResourceJingliuHairBlend]
type = Buffer
stride = 32
filename = JingliuHairBlend.buf

[ResourceJingliuHairTexcoord]
type = Buffer
stride = 8
filename = JingliuHairTexcoord.buf

[ResourceJingliuBodyPosition]
type = Buffer
stride = 40
filename = JingliuBodyPosition.buf

[ResourceJingliuBodyBlend]
type = Buffer
stride = 32
filename = JingliuBodyBlend.buf

[ResourceJingliuBodyTexcoord]
type = Buffer
stride = 20
filename = JingliuBodyTexcoord.buf

[ResourceJingliuHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JingliuHairA.ib

[ResourceJingliuBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JingliuBodyA.ib

[ResourceJingliuHairADiffuse]
filename = JingliuHairADiffuse.dds

[ResourceJingliuHairALightMap]
filename = JingliuHairALightMap.dds

[ResourceJingliuBodyADiffuse]
filename = JingliuBodyADiffuse.dds

[ResourceJingliuBodyALightMap]
filename = JingliuBodyALightMap.dds


; .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


[TextureOverride20fixA]
hash = e8d31b6a
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	match_first_index = 51096
	ib = null
endif

	
	
[TextureOverride20fixA]
hash = e8d31b6a
match_priority = 5
if $\JingliuJR7\Master\swapvar==5
	match_first_index = 0
ib = nullendif

