; Feixiao

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

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

[TextureOverrideFeixiaoBodyBlend]
hash = 9fb44ee9
if $\feixiao bunny\Master\swapvar==0
	handling = skip
	vb2 = ResourceFeixiaoBodyBlend
	if DRAW_TYPE == 1
		vb0 = ResourceFeixiaoBodyPosition
		draw = 32904, 0
	endif
	if DRAW_TYPE == 8    
		Resource\SRMI\PositionBuffer = ref ResourceFeixiaoBodyPositionCS
		Resource\SRMI\BlendBuffer = ref ResourceFeixiaoBodyBlendCS
		$\SRMI\vertex_count = 32904
	endif
endif

	
	
[TextureOverrideFeixiaoBodyTexcoord]
hash = 83d2adc9
if $\feixiao bunny\Master\swapvar==0
	vb1 = ResourceFeixiaoBodyTexcoord
endif

	
[TextureOverrideFeixiaoBodyVertexLimitRaise]
hash = a29c89d1
if $\feixiao bunny\Master\swapvar==0
	override_vertex_count = 32904
	override_byte_stride = 40
	uav_byte_stride = 4
endif

	
[TextureOverrideFeixiaoBodyIB]
hash = 4590c116
if $\feixiao bunny\Master\swapvar==0
	handling = skip
	drawindexed = auto
endif

	
[TextureOverrideFeixiaoBodyA]
hash = 4590c116
if $\feixiao bunny\Master\swapvar==0
	match_first_index = 0
	ib = ResourceFeixiaoBodyAIB
endif

	
[TextureOverrideFeixiaoBodyADiffuse]
hash = 8dde0667
if $\feixiao bunny\Master\swapvar==0
	this = ResourceFeixiaoBodyADiffuse
endif

	
[TextureOverrideFeixiaoBodyALightMap]
hash = 71bb9c45
if $\feixiao bunny\Master\swapvar==0
	this = ResourceFeixiaoBodyALightMap
endif

	
[TextureOverrideFeixiaoBodyB]
hash = 4590c116
if $\feixiao bunny\Master\swapvar==0
	match_first_index = 12318
	ib = ResourceFeixiaoBodyBIB
endif

	
[TextureOverrideFeixiaoBodyC]
hash = 4590c116
if $\feixiao bunny\Master\swapvar==0
	match_first_index = 17361
	ib = ResourceFeixiaoBodyCIB
endif

	
[TextureOverrideFeixiaoBodyCDiffuse]
hash = e728aa85
if $\feixiao bunny\Master\swapvar==0
	this = ResourceFeixiaoBodyCDiffuse
endif

	
[TextureOverrideFeixiaoBodyCLightMap]
hash = 6e77937e
if $\feixiao bunny\Master\swapvar==0
	this = ResourceFeixiaoBodyCLightMap
endif

	
[TextureOverrideFeixiaoBodyD]
hash = 4590c116
if $\feixiao bunny\Master\swapvar==0
	match_first_index = 77115
	ib = ResourceFeixiaoBodyDIB
endif

	
[TextureOverrideFeixiaoBodyTexcoordBoss]
hash = 6c755805
if $\feixiao bunny\Master\swapvar==0
	vb1 = ResourceFeixiaoBodyTexcoord
endif

	
[TextureOverrideFeixiaoBossPosition]
hash = ef0dd040
if $\feixiao bunny\Master\swapvar==0
	handling = skip
	vb2 = ResourceFeixiaoBodyBlend
	if DRAW_TYPE == 1
		vb0 = ResourceFeixiaoBodyPosition
		draw = 32904,0
	endif
	if DRAW_TYPE == 8
		Resource\SRMI\PositionBuffer = ref ResourceFeixiaoBodyPositionCS
		Resource\SRMI\BlendBuffer = ref ResourceFeixiaoBodyBlendCS
		$\SRMI\vertex_count = 32904
	endif
endif

	
	
[TextureOverrideFeixiaoBodyVertexLimitRaiseBoss]
hash = fb523688
if $\feixiao bunny\Master\swapvar==0
	override_vertex_count = 32904
	override_byte_stride = 40
	uav_byte_stride = 4
endif

	
[TextureOverrideFeixiaoBodyIBBoss]
hash = 0f4fa39b
if $\feixiao bunny\Master\swapvar==0
	handling = skip
	drawindexed = auto
endif

	
[TextureOverrideFeixiaoBodyABoss]
hash = 0f4fa39b
if $\feixiao bunny\Master\swapvar==0
	match_first_index = 0
	ib = ResourceFeixiaoBodyAIB
endif

	
[TextureOverrideFeixiaoBodyBBoss]
hash = 0f4fa39b
if $\feixiao bunny\Master\swapvar==0
	match_first_index = 12318
	ib = ResourceFeixiaoBodyBIB
endif

	
[TextureOverrideFeixiaoBodyCBoss]
hash = 0f4fa39b
if $\feixiao bunny\Master\swapvar==0
	match_first_index = 17361
	ib = ResourceFeixiaoBodyCIB
endif

	
[TextureOverrideFeixiaoBodyDBoss]
hash = 0f4fa39b
if $\feixiao bunny\Master\swapvar==0
	match_first_index = 77115
	ib = ResourceFeixiaoBodyDIB
endif

	
	;; CommandList -----------------------
	
	;; Resources -------------------------
	
[ResourceFeixiaoBodyPosition]
type = Buffer
stride = 40
filename = FeixiaoBodyPosition.buf

[ResourceFeixiaoBodyBlend]
type = Buffer
stride = 32
filename = FeixiaoBodyBlend.buf

[ResourceFeixiaoBodyTexcoord]
type = Buffer
stride = 28
filename = FeixiaoBodyTexcoord.buf

[ResourceFeixiaoBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = FeixiaoBodyA.ib

[ResourceFeixiaoBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = FeixiaoBodyB.ib

[ResourceFeixiaoBodyCIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = FeixiaoBodyC.ib

[ResourceFeixiaoBodyDIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = FeixiaoBodyD.ib

[ResourceFeixiaoBodyADiffuse]
filename = FeixiaoBodyADiffuse.dds

[ResourceFeixiaoBodyALightMap]
filename = FeixiaoBodyALightMap.dds

[ResourceFeixiaoBodyCDiffuse]
filename = FeixiaoBodyCDiffuse.dds

[ResourceFeixiaoBodyCLightMap]
filename = FeixiaoBodyCLightMap.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

[Constants]
global $_blend_ = 0

; -------------------- Auto-generated CS resources --------------------

[ResourceFeixiaoBodyDrawCS]
type = RWStructuredBuffer
array = 32904
data = R32_FLOAT 1 2 3 4 5 6 7 8 9 10

[ResourceFeixiaoBossBodyDrawCS]
type = RWStructuredBuffer
array = 32904
data = R32_FLOAT 1 2 3 4 5 6 7 8 9 10

[ResourceFeixiaoBodyPositionCS]
type = StructuredBuffer
stride = 40
filename = FeixiaoBodyPosition.buf

[ResourceFeixiaoBodyBlendCS]
type = StructuredBuffer
stride = 32
filename = FeixiaoBodyBlend.buf

