28 #ifndef __D3D10PIXELBUFFER_H__
29 #define __D3D10PIXELBUFFER_H__
D3D10Device & mDevice
D3DDevice pointer.
D3D10Texture * mParentTexture
This class represents a RenderTarget that renders to a Texture.
void blitFromMemory(const PixelBox &src, const Image::Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void fromD3DLock(PixelBox &rval, const DXGI_MAPPED_RECT &lrect)
Util functions to convert a D3D locked box to a pixel box.
LockOptions
Locking options.
Structure used to define a box in a 3-D integer space.
~D3D10HardwarePixelBuffer()
void unlockImpl(void)
Unlock a box.
PixelFormat
The pixel format used for images, textures, and render surfaces.
Usage
Enums describing buffer usage; not mutually exclusive.
D3D10_BOX OgreImageBoxToDx10Box(const Image::Box &inBox) const
size_t getSubresourceIndex() const
Shared pointer implementation used to share pixel buffers.
Specialisation of HardwareBuffer for a pixel buffer.
void blitToMemory(const Image::Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
void blit(const HardwarePixelBufferSharedPtr &src, const Image::Box &srcBox, const Image::Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
vector< RenderTexture * >::type SliceTRT
Render targets.
void _genMipmaps()
Internal function to update mipmaps on update of level 0.
RenderTexture * getRenderTarget(size_t zoffset)
Get rendertarget for z slice.
virtual void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
D3D10HardwarePixelBuffer(D3D10Texture *parentTexture, D3D10Device &device, size_t subresourceIndex, size_t width, size_t height, size_t depth, size_t face, PixelFormat format, HardwareBuffer::Usage usage)
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
D3D10Texture * getParentTexture() const
PixelBox lockImpl(const Image::Box lockBox, LockOptions options)
Lock a box.