; Topaz

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

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

[TextureOverrideTopazBodyPosition]
hash = 2eab6d2d
match_priority = 7
if $\TopazBASENSFWSet1\Master\swapvar==7
	handling = skip
	vb0 = ResourceTopazBodyPosition
	vb2 = ResourceTopazBodyBlend
	draw = 40580,0
endif

	
[TextureOverrideTopazBodyTexcoord]
hash = 436288c9
match_priority = 7
if $\TopazBASENSFWSet1\Master\swapvar==7
	vb1 = ResourceTopazBodyTexcoord
endif

	
[TextureOverrideTopazBodyVertexLimitRaise]
hash = 9d5cd14d
match_priority = 7
if $\TopazBASENSFWSet1\Master\swapvar==7
endif

	
[TextureOverrideTopazBodyIB]
hash = b52297bf
match_priority = 7
if $\TopazBASENSFWSet1\Master\swapvar==7
	handling = skip
	drawindexed = auto
endif

	
[TextureOverrideTopazBodyA]
hash = b52297bf
match_priority = 7
if $\TopazBASENSFWSet1\Master\swapvar==7
	match_first_index = 0
	ib = ResourceTopazBodyAIB
	ps-t0 = ResourceTopazBodyADiffuse
	ps-t1 = ResourceTopazBodyALightMap
endif

	
[TextureOverrideTopazBodyB]
hash = b52297bf
match_priority = 7
if $\TopazBASENSFWSet1\Master\swapvar==7
	match_first_index = 18327
	ib = ResourceTopazBodyBIB
	ps-t0 = ResourceTopazBodyADiffuse
	ps-t1 = ResourceTopazBodyALightMap
endif

	
[TextureOverrideTopazBodyC]
hash = b52297bf
match_priority = 7
if $\TopazBASENSFWSet1\Master\swapvar==7
	match_first_index = 21645
	ib = null
endif

	
[TextureOverrideTopazBodyD]
hash = b52297bf
match_priority = 7
if $\TopazBASENSFWSet1\Master\swapvar==7
	match_first_index = 45078
	ib = null
endif

	
; CommandList -----------------------
	
; Resources -------------------------
	
[ResourceTopazBodyPosition]
type = Buffer
stride = 40
filename = TopazBodyPosition.buf

[ResourceTopazBodyBlend]
type = Buffer
stride = 32
filename = TopazBodyBlend.buf

[ResourceTopazBodyTexcoord]
type = Buffer
stride = 20
filename = TopazBodyTexcoord.buf

[ResourceTopazBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = TopazBodyA.ib

[ResourceTopazBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = TopazBodyB.ib

[ResourceTopazBodyCIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = TopazBodyC.ib

[ResourceTopazBodyDIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = TopazBodyD.ib

[ResourceTopazBodyADiffuse]
filename = TopazBodyADiffuse.dds

[ResourceTopazBodyALightMap]
filename = TopazBodyALightMap.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