; NvzhuAh

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

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

[TextureOverrideNvzhuAhBlend]
hash = a91c061e
handling = skip
vb2 = ResourceNvzhuAhBlend
if DRAW_TYPE == 1
	vb0 = ResourceNvzhuAhPosition
	draw = 7905, 0
endif
ResourceStelleHairDrawCS = copy ResourceStelleHairDrawCS
if DRAW_TYPE == 8    
	Resource\SRMI\PositionBuffer = ref ResourceNvzhuAhPositionCS
	Resource\SRMI\BlendBuffer = ref ResourceNvzhuAhBlendCS
	Resource\SRMI\DrawBuffer = ref ResourceStelleHairDrawCS
	$\SRMI\vertcount = 7905
elif DRAW_TYPE != 1
	$_blend_ = 2
endif

[TextureOverrideNvzhuAhTexcoord]
hash = fe9eaef0
vb1 = ResourceNvzhuAhTexcoord

[TextureOverrideNvzhuAhLimitDraw]
hash = 0f43f610
;hash = 00d0c31d
if DRAW_TYPE != 8 && DRAW_TYPE != 1 && $_blend_ > 0
	$_blend_ = $_blend_ - 1
	this = ref ResourceStelleHairDrawCS
endif

[TextureOverrideNvzhuAh2Blend]
hash = b55c8431
handling = skip
vb2 = ResourceNvzhuAh2Blend
if DRAW_TYPE == 1
	vb0 = ResourceNvzhuAh2Position
	draw = 14737, 0
endif
;hash = 6949f854
ResourceStelleBodyDrawCS = copy ResourceStelleBodyDrawCS
if DRAW_TYPE == 8    
	Resource\SRMI\PositionBuffer = ref ResourceNvzhuAh2PositionCS
	Resource\SRMI\BlendBuffer = ref ResourceNvzhuAh2BlendCS
	Resource\SRMI\DrawBuffer = ref ResourceStelleBodyDrawCS
	$\SRMI\vertcount = 14737
elif DRAW_TYPE != 1
	$_blend_ = 2
endif

[TextureOverrideNvzhuAh2Texcoord]
hash = f00b6ded
vb1 = ResourceNvzhuAh2Texcoord

[TextureOverrideNvzhuAh2LimitDraw]
hash = d52d7139
;hash = dabe4434
if DRAW_TYPE != 8 && DRAW_TYPE != 1 && $_blend_ > 0
	$_blend_ = $_blend_ - 1
	this = ref ResourceStelleBodyDrawCS
endif

[TextureOverrideNvzhuAhIB]
hash = 1d62eafb
handling = skip
drawindexed = auto

[TextureOverrideNvzhuAhA]
hash = 1d62eafb
match_first_index = 0
ib = ResourceNvzhuAhAIB
ps-t2 = ResourceNvzhuAhADiffuse
;ps-t3 = ResourceNvzhuAhALightMap

[TextureOverrideNvzhuAh2IB]
hash = fba309df
handling = skip
drawindexed = auto

[TextureOverrideNvzhuAh2A]
hash = fba309df
match_first_index = 0
ib = ResourceNvzhuAh2AIB
ps-t2 = ResourceNvzhuAh2ADiffuse
ps-t3 = ResourceNvzhuAh2ALightMap

[TextureOverrideNvzhuAh2B]
hash = fba309df
match_first_index = 32946
ib = ResourceNvzhuAh2BIB
ps-t2 = ResourceNvzhuAh2BDiffuse
ps-t3 = ResourceNvzhuAh2BLightMap

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

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

[ResourceNvzhuAhPosition]
type = Buffer
stride = 40
filename = NvzhuAhPosition.buf

[ResourceNvzhuAhBlend]
type = Buffer
stride = 32
filename = NvzhuAhBlend.buf

[ResourceNvzhuAhTexcoord]
type = Buffer
stride = 8
filename = NvzhuAhTexcoord.buf

[ResourceNvzhuAh2Position]
type = Buffer
stride = 40
filename = NvzhuAh2Position.buf

[ResourceNvzhuAh2Blend]
type = Buffer
stride = 32
filename = NvzhuAh2Blend.buf

[ResourceNvzhuAh2Texcoord]
type = Buffer
stride = 20
filename = NvzhuAh2Texcoord.buf

[ResourceNvzhuAhAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NvzhuAhA.ib

[ResourceNvzhuAh2AIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NvzhuAh2A.ib

[ResourceNvzhuAh2BIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NvzhuAh2B.ib

[ResourceNvzhuAhADiffuse]
filename = NvzhuAhADiffuse.dds

[ResourceNvzhuAhALightMap]
filename = NvzhuAhALightMap.dds

[ResourceNvzhuAh2ADiffuse]
filename = NvzhuAh2ADiffuse.dds

[ResourceNvzhuAh2ALightMap]
filename = NvzhuAh2ALightMap.dds

[ResourceNvzhuAh2BDiffuse]
filename = NvzhuAh2BDiffuse.dds

[ResourceNvzhuAh2BLightMap]
filename = NvzhuAh2BLightMap.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 --------------------

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

[ResourceNvzhuAhPositionCS]
type = StructuredBuffer
stride = 40
filename = NvzhuAhPosition.buf

[ResourceNvzhuAhBlendCS]
type = StructuredBuffer
stride = 32
filename = NvzhuAhBlend.buf

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

[ResourceNvzhuAh2PositionCS]
type = StructuredBuffer
stride = 40
filename = NvzhuAh2Position.buf

[ResourceNvzhuAh2BlendCS]
type = StructuredBuffer
stride = 32
filename = NvzhuAh2Blend.buf

