; Tribbie

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

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

[TextureOverrideTribbieBlend]
hash = f992d345
handling = skip
vb2 = ResourceTribbieBlend
if DRAW_TYPE == 1
	vb0 = ResourceTribbiePosition
	draw = 18253,0
endif
ResourceTribbieBodyDrawCS = copy ResourceTribbieBodyDrawCS
if DRAW_TYPE == 8    
	Resource\SRMI\PositionBuffer = ref ResourceTribbiePositionCS
	Resource\SRMI\BlendBuffer = ref ResourceTribbieBlendCS
	Resource\SRMI\DrawBuffer = ref ResourceTribbieBodyDrawCS
	$\SRMI\vertcount = 18253
elif DRAW_TYPE != 1
	$_blend_ = 2
endif

[TextureOverrideTribbieTexcoord]
hash = caf065e1
vb1 = ResourceTribbieTexcoord

[TextureOverrideTribbieVertexLimitRaise]
hash = 9f177bf0
;hash = 90844efd
; override_vertex_count = 18253
; override_byte_stride = 92
override_vertex_count = 18253
override_byte_stride = 40
if DRAW_TYPE != 8 && DRAW_TYPE != 1 && $_blend_ > 0
	$_blend_ = $_blend_ - 1
	this = ref ResourceTribbieBodyDrawCS
endif

[TextureOverrideTribbieIB]
hash = 65fe8390
handling = skip
drawindexed = auto

[TextureOverrideTribbieA]
hash = 65fe8390
match_first_index = 0
ib = ResourceTribbieAIB

[TextureOverrideTribbieADiffuse]
hash = d3258ee6
this = ResourceTribbieADiffuse

[TextureOverrideTribbieALightMap]
hash = 11876d71
this = ResourceTribbieALightMap

[TextureOverrideTribbieB]
hash = 65fe8390
match_first_index = 34080
ib = ResourceTribbieBIB

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

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

[ResourceTribbiePosition]
type = Buffer
stride = 40
filename = TribbiePosition.buf

[ResourceTribbieBlend]
type = Buffer
stride = 32
filename = TribbieBlend.buf

[ResourceTribbieTexcoord]
type = Buffer
stride = 20
filename = TribbieTexcoord.buf

[ResourceTribbieAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = TribbieA.ib

[ResourceTribbieBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = TribbieB.ib

[ResourceTribbieADiffuse]
filename = TribbieADiffuse.dds

[ResourceTribbieALightMap]
filename = TribbieALightMap.dds



; .ini generated by XXMI (XX-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues

[Constants]
global $_blend_ = 0

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

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

[ResourceTribbiePositionCS]
type = StructuredBuffer
stride = 40
filename = TribbiePosition.buf

[ResourceTribbieBlendCS]
type = StructuredBuffer
stride = 32
filename = TribbieBlend.buf

