Original Post
i'm in a bit a of a writers block... i'm trying to make a class that able to handle all kinds of FVF formats. here's my class so far. class cVertexBuffer { protected: cGraphics* m_pGraphics; IDirect3DVertexBuffer9* m_pVB; DWORD m_FVF; public: cQuadTexture(); ~cQuadTexture(); Init(cGraphic *Graphic); }; is there any way i could have mb a function or inherite every vertex structor.. or somekthing... to be able to just have a setting set to something and have the class able to handle 2d color formats or 3d color normal formats