United States (English)
Canada (English)
Canada (Français)
Deutschland (Deutsch)
España (Español)
France (Français)
Italia (Italia)
United Kingdom (English)
United States (English)
日本 (日本語)
Forums
Hi,
Visitor
Sign In
Home
Quick Start Guide
News
Membership
Games
Games Catalog
Submit Game
Review Game
Playtest Game
Creators
My Profile
My Business
Community
Forums
Community Spotlight
Community Resources
Education
Getting Started
Education Catalog
Starter Kits
Utilities
Resources
FAQ
Partners
Download
Feedback
Press Site
community forums
XNA Community Forums
»
Search
Search Forums
Page 1 of 3 (23 items) 1
2
3
Next >
More Search Options
Re: Embed the shader code in the program?
J
o
h
n
m
e
a
n
t
w
h
a
t
y
o
u
c
a
n
c
o
m
p
i
l
e
y
o
u
s
h
a
d
e
r
s
w
i
t
h
F
X
C
t
o
o
l
(
l
o
o
k
i
n
U
t
i
l
i
t
i
e
s
f
o
l
d
e
r
i
n
S
D
K
i
n
s
t
a
l
l
a
t
i
o
n
)
w
i
t
h
/
F
h
f
l
a
g
.
T
h
i
s
w
i
l
l
p
r
o
d
u
c
e
i
n
c
l
u
d
e
f
i
l
e
w
i
t
h
c
o
m
p
i
l
d
s
h
d
e
r
e
n
c
o
d
e
d
i
n
b
i
n
a
r
y
a
r
r
a
y
.
&
n
b
s
p
;
Y
y
o
u
c
a
n
d
i
r
e
c
t
l
y
i
n
c
l
u
d
e
t
h
i
s
f
i
l
e
&
n
b
s
p
;
i
n
y
o
u
r
p
r
o
j
e
c
t
a
n
d
j
u
s
t
c
a
l
l
C
r
e
a
t
e
P
i
x
e
l
S
h
a
d
e
r
(
s
h
a
d
e
r
_
n
a
m
e
)
t
o
c
r
e
a
t
e
s
h
a
d
e
r
.
Posted to
Direct3D 10
(Forum)
by
Clootie RU
on 7/1/2008
Re: CreateShaderResourceView bug?
Y
e
a
,
I
&
#
3
9
;
v
e
g
o
t
s
i
m
i
l
a
r
a
n
s
w
e
r
-
G
8
0
h
a
s
h
a
r
d
w
a
r
e
i
s
s
u
e
w
i
t
h
t
h
i
s
.
B
u
t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x
x
x
c
a
r
d
s
w
e
r
e
a
d
v
e
r
t
i
s
e
d
a
s
S
h
a
d
e
r
M
o
d
e
l
3
.
0
c
a
p
a
b
l
e
,
b
u
t
d
i
d
n
o
t
s
u
p
p
o
r
t
v
e
r
t
e
x
t
e
x
t
u
r
i
n
g
)
?
Posted to
Direct3D
(Forum)
by
Clootie RU
on 5/16/2008
Re: d3dpp.Windowed Can't change to false
Y
o
u
s
h
o
u
l
d
s
e
t
&
n
b
s
p
;
p
p
.
B
a
c
k
B
u
f
f
e
r
C
o
u
n
t
&
n
b
s
p
;
t
o
a
t
l
e
a
s
t
&
n
b
s
p
;
1
(
f
o
r
d
o
u
b
l
e
b
u
f
f
e
r
i
n
g
)
.
Posted to
Direct3D
(Forum)
by
Clootie RU
on 5/16/2008
Re: Difference between tbuffer and Buffer
T
B
u
f
f
e
r
a
n
d
C
B
u
f
f
e
r
h
a
v
e
d
i
f
f
e
r
e
n
t
p
e
r
f
o
r
m
a
n
c
e
c
h
a
r
a
c
t
e
r
i
s
t
i
c
s
o
n
H
W
.
W
h
i
l
e
C
B
u
f
f
e
r
s
h
o
u
l
d
b
e
u
s
e
d
f
o
r
d
a
t
a
t
h
a
t
i
s
c
o
h
e
r
e
n
t
l
y
a
c
c
e
s
s
e
d
i
n
s
h
a
d
e
r
s
(
l
i
k
e
a
l
l
i
n
s
t
a
n
c
e
s
o
f
s
h
a
d
e
r
f
e
t
c
h
i
n
g
p
r
o
j
e
c
t
i
o
n
m
a
t
r
i
x
f
r
o
m
b
u
f
f
e
r
)
-
T
B
u
f
f
e
r
s
a
r
e
m
o
r
e
s
u
i
t
e
d
f
o
r
r
a
n
d
o
m
l
y
a
c
c
e
s
s
e
d
d
a
t
a
(
f
o
r
e
x
a
m
p
l
e
,
v
a
r
i
o
u
s
l
o
o
k
u
p
t
a
b
l
e
s
)
.
Posted to
Direct3D 10
(Forum)
by
Clootie RU
on 5/16/2008
More Search Options
Page 1 of 3 (23 items) 1
2
3
Next >
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
Privacy Statement
Code of Conduct
Feedback