Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 138643

A bitmap (raster image) used in a texture mapping process.

0 votes
1 answer
411 views

Black texture when manually creating from image

I know the standard way to load textures is through the DirectXTex library, but I was having issues linking with it and can't find any premade Rust bindings. …
cwhakes's user avatar
  • 31
1 vote

Black texture when manually creating from image

Finally figured it out. Rather than DXGI_FORMAT_R8G8B8A8_UINT, DXGI_FORMAT_R8G8B8A8_UNORM is required. Fixing this fixed the black texture. However, there are some other problems with my code. The d …
cwhakes's user avatar
  • 31