Wrox Programmer Forums
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 19th, 2006, 10:58 AM
Registered User
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Textures


This is queston about c#/Managed DirectX

I need to make a texture from raw data somehow (it's quite big memory part so using the stream is really slow) and all I can have is a pointer to place where the values are stored (the values are A8R8G8B8 format).

Does anybody know how to
a] copy the data directly to a texture or
b] how to create an unmanaged texture that would read the data from memory I want (so the data would't have to copy but it would update the texture automaticly)

The method I described as B would be much useful for me.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.