Search found 3 matches
- Sun Aug 06, 2006 3:25 pm
- Forum: Beginners Help
- Topic: Constructing a texture from a memory buffer
- Replies: 1
- Views: 168
- Sat Aug 05, 2006 8:51 pm
- Forum: Beginners Help
- Topic: A few little problems
- Replies: 5
- Views: 412
You're missing out the bits per pixel argument.
Code: Select all
device = createDevice( driverType, dimension2d<s32>(512, 384), 32, false, false, false, &recv );
- Sat Aug 05, 2006 5:04 pm
- Forum: Beginners Help
- Topic: Constructing a texture from a memory buffer
- Replies: 1
- Views: 168
Constructing a texture from a memory buffer
I've written a resource cache, which as you'd expect, can work with any type of data. To this end, when retrieving resource data a void* is returned.
I could've sworn I saw something in the API that creates a texture from a buffer, but either can't find or I was thinking of something else
I could've sworn I saw something in the API that creates a texture from a buffer, but either can't find or I was thinking of something else