Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ HiDef

readonly ProfileCapabilities Microsoft.Xna.Framework.Graphics.ProfileCapabilities.HiDef
staticpackage
Initial value:
= new ProfileCapabilities
{
Profile = GraphicsProfile.HiDef,
MaxPrimitiveCount = 1048575,
MaxVertexBufferSize = 67108863,
MaxIndexBufferSize = 67108863,
MaxCubeSize = 4096,
NonPow2Cube = true,
NonPow2Volume = true,
{
SurfaceFormat.Color,
SurfaceFormat.Bgr565,
SurfaceFormat.Bgra5551,
SurfaceFormat.Bgra4444,
SurfaceFormat.Dxt1,
SurfaceFormat.Dxt3,
SurfaceFormat.Dxt5,
SurfaceFormat.NormalizedByte2,
SurfaceFormat.NormalizedByte4,
SurfaceFormat.Rgba1010102,
SurfaceFormat.Rg32,
SurfaceFormat.Rgba64,
SurfaceFormat.Alpha8,
SurfaceFormat.Single,
SurfaceFormat.Vector2,
SurfaceFormat.Vector4,
SurfaceFormat.HalfSingle,
SurfaceFormat.HalfVector2,
SurfaceFormat.HalfVector4,
SurfaceFormat.HdrBlendable
},
{
SurfaceFormat.Bgr565,
SurfaceFormat.Bgra5551,
SurfaceFormat.Bgra4444,
SurfaceFormat.Rgba1010102,
SurfaceFormat.Rgba64,
SurfaceFormat.Alpha8,
SurfaceFormat.Single,
SurfaceFormat.Vector2,
SurfaceFormat.Vector4,
SurfaceFormat.HalfSingle,
SurfaceFormat.HalfVector2,
SurfaceFormat.HalfVector4,
SurfaceFormat.HdrBlendable
},
{
SurfaceFormat.Bgr565,
SurfaceFormat.Bgra5551,
SurfaceFormat.Bgra4444,
SurfaceFormat.Rgba1010102,
SurfaceFormat.Rgba64,
SurfaceFormat.Alpha8,
SurfaceFormat.Single,
SurfaceFormat.Vector2,
SurfaceFormat.Vector4,
SurfaceFormat.HalfSingle,
SurfaceFormat.HalfVector2,
SurfaceFormat.HalfVector4,
SurfaceFormat.HdrBlendable
},
{
SurfaceFormat.Single,
SurfaceFormat.Vector2,
SurfaceFormat.Vector4,
SurfaceFormat.HalfSingle,
SurfaceFormat.HalfVector2,
SurfaceFormat.HalfVector4,
SurfaceFormat.HdrBlendable
},
{
SurfaceFormat.Single,
SurfaceFormat.Vector2,
SurfaceFormat.Vector4,
SurfaceFormat.HalfSingle,
SurfaceFormat.HalfVector2,
SurfaceFormat.HalfVector4,
SurfaceFormat.HdrBlendable
},
{
SurfaceFormat.Single,
SurfaceFormat.Vector2,
SurfaceFormat.Vector4,
SurfaceFormat.HalfSingle,
SurfaceFormat.HalfVector2,
SurfaceFormat.HalfVector4
},
{
DepthFormat.Depth16,
DepthFormat.Depth24,
DepthFormat.Depth24Stencil8
},
{
VertexElementFormat.Color,
VertexElementFormat.Single,
VertexElementFormat.Vector2,
VertexElementFormat.Vector3,
VertexElementFormat.Vector4,
VertexElementFormat.Byte4,
VertexElementFormat.Short2,
VertexElementFormat.Short4,
VertexElementFormat.NormalizedShort2,
VertexElementFormat.NormalizedShort4,
VertexElementFormat.HalfVector2,
VertexElementFormat.HalfVector4
}
}

Definition at line 142 of file ProfileCapabilities.cs.

143 {
144 Profile = GraphicsProfile.HiDef,
147 OcclusionQuery = true,
148 GetBackBufferData = true,
149 SeparateAlphaBlend = true,
151 MinMaxSrcDestBlend = false,
152 MaxPrimitiveCount = 1048575,
153 IndexElementSize32 = true,
154 MaxVertexStreams = 16,
155 MaxStreamStride = 255,
156 MaxVertexBufferSize = 67108863,
157 MaxIndexBufferSize = 67108863,
158 MaxTextureSize = 4096,
159 MaxCubeSize = 4096,
160 MaxVolumeExtent = 256,
162 MaxSamplers = 16,
166 NonPow2Cube = true,
167 NonPow2Volume = true,
169 {
170 SurfaceFormat.Color,
171 SurfaceFormat.Bgr565,
172 SurfaceFormat.Bgra5551,
173 SurfaceFormat.Bgra4444,
174 SurfaceFormat.Dxt1,
175 SurfaceFormat.Dxt3,
176 SurfaceFormat.Dxt5,
177 SurfaceFormat.NormalizedByte2,
178 SurfaceFormat.NormalizedByte4,
179 SurfaceFormat.Rgba1010102,
180 SurfaceFormat.Rg32,
181 SurfaceFormat.Rgba64,
182 SurfaceFormat.Alpha8,
183 SurfaceFormat.Single,
184 SurfaceFormat.Vector2,
185 SurfaceFormat.Vector4,
186 SurfaceFormat.HalfSingle,
187 SurfaceFormat.HalfVector2,
188 SurfaceFormat.HalfVector4,
189 SurfaceFormat.HdrBlendable
190 },
192 {
193 SurfaceFormat.Color,
194 SurfaceFormat.Bgr565,
195 SurfaceFormat.Bgra5551,
196 SurfaceFormat.Bgra4444,
197 SurfaceFormat.Dxt1,
198 SurfaceFormat.Dxt3,
199 SurfaceFormat.Dxt5,
200 SurfaceFormat.Rgba1010102,
201 SurfaceFormat.Rg32,
202 SurfaceFormat.Rgba64,
203 SurfaceFormat.Alpha8,
204 SurfaceFormat.Single,
205 SurfaceFormat.Vector2,
206 SurfaceFormat.Vector4,
207 SurfaceFormat.HalfSingle,
208 SurfaceFormat.HalfVector2,
209 SurfaceFormat.HalfVector4,
210 SurfaceFormat.HdrBlendable
211 },
213 {
214 SurfaceFormat.Color,
215 SurfaceFormat.Bgr565,
216 SurfaceFormat.Bgra5551,
217 SurfaceFormat.Bgra4444,
218 SurfaceFormat.Rgba1010102,
219 SurfaceFormat.Rg32,
220 SurfaceFormat.Rgba64,
221 SurfaceFormat.Alpha8,
222 SurfaceFormat.Single,
223 SurfaceFormat.Vector2,
224 SurfaceFormat.Vector4,
225 SurfaceFormat.HalfSingle,
226 SurfaceFormat.HalfVector2,
227 SurfaceFormat.HalfVector4,
228 SurfaceFormat.HdrBlendable
229 },
231 {
232 SurfaceFormat.Single,
233 SurfaceFormat.Vector2,
234 SurfaceFormat.Vector4,
235 SurfaceFormat.HalfSingle,
236 SurfaceFormat.HalfVector2,
237 SurfaceFormat.HalfVector4,
238 SurfaceFormat.HdrBlendable
239 },
241 {
242 SurfaceFormat.Single,
243 SurfaceFormat.Vector2,
244 SurfaceFormat.Vector4,
245 SurfaceFormat.HalfSingle,
246 SurfaceFormat.HalfVector2,
247 SurfaceFormat.HalfVector4,
248 SurfaceFormat.HdrBlendable
249 },
251 {
252 SurfaceFormat.Single,
253 SurfaceFormat.Vector2,
254 SurfaceFormat.Vector4,
255 SurfaceFormat.HalfSingle,
256 SurfaceFormat.HalfVector2,
257 SurfaceFormat.HalfVector4
258 },
260 {
261 DepthFormat.Depth16,
262 DepthFormat.Depth24,
263 DepthFormat.Depth24Stencil8
264 },
266 {
267 VertexElementFormat.Color,
268 VertexElementFormat.Single,
269 VertexElementFormat.Vector2,
270 VertexElementFormat.Vector3,
271 VertexElementFormat.Vector4,
272 VertexElementFormat.Byte4,
273 VertexElementFormat.Short2,
274 VertexElementFormat.Short4,
275 VertexElementFormat.NormalizedShort2,
276 VertexElementFormat.NormalizedShort4,
277 VertexElementFormat.HalfVector2,
278 VertexElementFormat.HalfVector4
279 }
280 };

Referenced by Microsoft.Xna.Framework.Graphics.ProfileCapabilities.GetInstance().