No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
How can I access (get) the individual pixels of the data in an LPDIRECT3DTEXTURE9? Thanks.
[CODE]LPCWSTR name; name += TEXT(".png");[/CODE] produces:'+=' : illegal, right operand has type 'const wchar_t [5]' I want to have .png appended to the name string. Anyone know how to fix it?
If I have a void pointer that needs to point to a struct. I'm not sure how to access the struct through the pointer. Can I even do that? If so, how? [CODE] #include <iostream> struct test { int var1; int var2; }; int main() { void *pPointer; pPointer = …
I'm kind of a noob at this, I have an error and i -sort of- know what it means, but I have no idea how to fix it. [CODE]#include "Sprite.h" int Sprite::LoadSprite(LPDIRECT3DDEVICE9 device, std::string Filename) { dImageScale = 1.0; D3DXIMAGE_INFO ImageInfo; D3DXGetImageInfoFromFile(Filename.c_str(), &ImageInfo); dImageHeight = ImageInfo.Height; dImageWidth = ImageInfo.Width; }[/CODE] …
The End.
V0ldemort