; MixingConsole

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

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

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverrideMixingConsolePosition]
hash = fd57732c
vb0 = ResourceMixingConsolePosition
$active = 1

[TextureOverrideMixingConsoleBlend]
hash = 54876223
vb1 = ResourceMixingConsoleBlend
handling = skip
draw = 122100,0 

[TextureOverrideMixingConsoleTexcoord]
hash = f5365582
vb1 = ResourceMixingConsoleTexcoord

[TextureOverrideMixingConsoleVertexLimitRaise]
hash = 71460717

[TextureOverrideMixingConsoleIB]
hash = 544d0061
handling = skip
drawindexed = auto

[TextureOverrideMixingConsoleHead]
hash = 544d0061
match_first_index = 0
ib = ResourceMixingConsoleHeadIB
ps-t0 = ResourceMixingConsoleHeadDiffuse
ps-t1 = ResourceMixingConsoleHeadLightMap

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

[ResourceMixingConsolePosition]
type = Buffer
stride = 40
filename = MixingConsolePosition.buf

[ResourceMixingConsoleBlend]
type = Buffer
stride = 32
filename = MixingConsoleBlend.buf

[ResourceMixingConsoleTexcoord]
type = Buffer
stride = 12
filename = MixingConsoleTexcoord.buf

[ResourceMixingConsoleHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = MixingConsoleHead.ib

[ResourceMixingConsoleHeadDiffuse]
filename = MixingConsoleHeadDiffuse.dds

[ResourceMixingConsoleHeadLightMap]
filename = MixingConsoleHeadLightMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by nineteen ( https://nineteenmew19.fanbox.cc/   or  patreon.com/nineteen0392) "


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