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

◆ Texture3D() [2/2]

Microsoft.Xna.Framework.Graphics.Texture3D.Texture3D ( GraphicsDevice graphicsDevice,
int width,
int height,
int depth,
[MarshalAs(UnmanagedType.U1)] bool mipMap,
SurfaceFormat format )
inline

Definition at line 65 of file Texture3D.cs.

66 {
67 try
68 {
69 CreateTexture(graphicsDevice, width, height, depth, mipMap, format);
70 return;
71 }
72 catch
73 {
74 //try-fault
75 base.Dispose(true);
76 throw;
77 }
78 }
unsafe void CreateTexture(GraphicsDevice graphicsDevice, int width, int height, int depth, [MarshalAs(UnmanagedType.U1)] bool mipMap, SurfaceFormat format)
Definition Texture3D.cs:262

References Microsoft.Xna.Framework.Graphics.Texture3D.CreateTexture(), and System.format.