public DDSSurfaceDesc2() { this.Size = 0x7c; this.Reserved = new byte[0x2c]; this.Flags = DDSSurfaceDescriptionFlags.DDSD_MIPMAPCOUNT | DDSSurfaceDescriptionFlags.DDSD_PIXELFORMAT | DDSSurfaceDescriptionFlags.DDSD_LINEARSIZE | DDSSurfaceDescriptionFlags.DDSD_CAPS | DDSSurfaceDescriptionFlags.DDSD_WIDTH | DDSSurfaceDescriptionFlags.DDSD_HEIGHT; this.PixelFormat = new DDSPixelFormat(); this.Caps = new DDSCaps2(); }
public DDSSurfaceDesc2() { Size = 0x7c; Reserved = new byte[0x2c]; Flags = DDSSurfaceDescriptionFlags.DDSD_MIPMAPCOUNT | DDSSurfaceDescriptionFlags.DDSD_PIXELFORMAT | DDSSurfaceDescriptionFlags.DDSD_LINEARSIZE | DDSSurfaceDescriptionFlags.DDSD_CAPS | DDSSurfaceDescriptionFlags.DDSD_WIDTH | DDSSurfaceDescriptionFlags.DDSD_HEIGHT; PixelFormat = new DDSPixelFormat(); Caps = new DDSCaps2(); }
public DDSSurfaceDesc2(DDSSurfaceDescriptionFlags Flags, int Height, int Width, uint Pitch, uint Depth, uint MipMapCount, DDSPixelFormat PixelFormat, DDSCaps2 Caps) { this.Size = 0x7c; this.Reserved = new byte[0x2c]; this.Flags = Flags; this.Height = Height; this.Width = Width; this.Pitch = Pitch; this.Depth = Depth; this.MipMapCount = MipMapCount; this.PixelFormat = PixelFormat; this.Caps = Caps; }
public DDSSurfaceDesc2(DDSSurfaceDescriptionFlags Flags, int Height, int Width, uint Pitch, uint Depth, uint MipMapCount, DDSPixelFormat PixelFormat, DDSCaps2 Caps) { Size = 0x7c; Reserved = new byte[0x2c]; this.Flags = Flags; this.Height = Height; this.Width = Width; this.Pitch = Pitch; this.Depth = Depth; this.MipMapCount = MipMapCount; this.PixelFormat = PixelFormat; this.Caps = Caps; }