21 static const int SIZE_GXVTXDESCLIST = (GX_VA_TEX7 + 1) + 1;
22 static const int SIZE_GXVTXATTRFMTLIST = (GX_VA_TEX7 - GX_VA_POS + 1) + 1;
29 u8 vtxFmtv[GX_CP_CMD_SZ * 3];
30 u8 array[GX_POS_MTX_ARRAY - GX_VA_POS][GX_CP_CMD_SZ * 2];
31 u8 PADDING_0xC2[0xE0 - 0xC2];
101class ResShp :
public ResCommon<ResShpData> {
103 NW4R_G3D_RESOURCE_FUNC_DEF(
ResShp);
110 bool GXGetVtxDescv(GXVtxDescList* pList)
const;
111 bool GXGetVtxAttrFmtv(GXVtxAttrFmtList* pList)
const;
112 void GXSetArray(GXAttr attr,
const void* pBase, u8 stride);
113 void DisableSetArray(GXAttr attr);
120 void CallPrePrimitiveDisplayList(
bool sync,
bool cacheIsSame)
const;
121 void CallPrimitiveDisplayList(
bool sync)
const;
124 return ResTagDL(&ref().tagPrePrimDL);
144 bool ExistVtxDesc(GXAttr attr)
const {
145 return ref().vcdBitmap & (1 << attr);
148 bool IsVisible()
const {
149 return !(ref().flag & ResShpData::FLAG_INVISIBLE);