mira esto es un edge:
Mostrar contenido
//-------------------
// example2\logo\.\tmp\gg.edge.h
//-------------------
//-------------------
__attribute__((__aligned__(16))) unsigned char Segment0Indexes[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xD0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
//-------------------
__attribute__((__aligned__(16))) unsigned char Segment0SpuVertexes[] = {
0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xBF, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBF, 0x00, 0x00, 0x00,
};
//-------------------
__attribute__((__aligned__(16))) unsigned char Segment0SpuVertexes2[] = {
0x00, 0x1F, 0xF8, 0x00, 0x00, 0x1F, 0xF8, 0x00, 0x00, 0x1F, 0xF8, 0x00, 0x00, 0x1F, 0xF8, 0x00,
};
//-------------------
__attribute__((__aligned__(16))) unsigned char Segment0RsxOnlyVertexes[] = {
0x00, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x3C, 0x00, 0x3C, 0x00,
};
//-------------------
__attribute__((__aligned__(16))) unsigned char Segment0SpuInputStreamDesc2[] = {
0x01, 0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x01, 0x02, 0x04, 0x02, 0x00, 0x00,
};
//-------------------
__attribute__((__aligned__(16))) unsigned char Segment0RsxOnlyStreamDesc[] = {
0x01, 0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x02, 0x05, 0x04, 0x08, 0x00, 0x00,
};
//-------------------
__attribute__((__aligned__(16))) unsigned char Segment0SpuOutputStreamDesc[] = {
0x02, 0x10, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x03, 0x01, 0x0C, 0x00, 0x00, 0x00,
0x0C, 0x06, 0x01, 0x02, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
//-------------------
EdgeGeomPpuConfigInfo Segment0 =
{
{
0x82, // flagsAndUniformTableCount
0x08, // commandBufferHoleSize
0x00, // inputVertexFormatId
0xFF, // secondaryInputVertexFormatId
0xFF, // outputVertexFormatId
0xFF, // vertexDeltaFormatId
0x30, // indexesFlavorAndSkinningFlavor
0, // pad
4, // numVertexes
6, // numIndexes
0xFFFFFFFF, // indexesOffset
},
&Segment0Indexes[0],
{ 16, 0 }, // indexesSizes[2]
{ &Segment0SpuVertexes[0], &Segment0SpuVertexes2[0] }, // spuVertexes
{ 48, 0, 0, 16, 0, 0 }, // spuVertexesSizes[6]
&Segment0RsxOnlyVertexes[0], // rsxOnlyVertexes
16, // rsxOnlyVertexesSize
{ 0, 0 }, // skinMatricesByteOffsets[2]
{ 0, 0 }, // skinMatricesSizes[2]
{ 0, 0 }, // skinIndexesAndWeightSizes[2]
NULL,
2176, // ioBufferSize
24, // scratchSize
0, // numBlendShapes
NULL,
NULL,
{0,0}, // fixed point offsets size
{NULL, NULL}, // fixed point offsets ptr
{ NULL, &Segment0SpuInputStreamDesc2[0] }, // spuInputStreamDescs[2]
&Segment0SpuOutputStreamDesc[0],
&Segment0RsxOnlyStreamDesc[0],
{0, 16},
32,
16,
};
//-------------------
EdgeGeomPpuConfigInfo *allSegments[] = {
&Segment0,
};