public class RenderTargetCube extends TextureCube
Modifier and Type | Field and Description |
---|---|
Event<EventArgs> |
ContentLost
Occurs when a resource is lost due to a device being lost.
|
_parent, Disposing, Name, Tag
Constructor and Description |
---|
RenderTargetCube(GraphicsDevice graphicsDevice,
int size,
boolean mipMap,
SurfaceFormat preferredFormat,
DepthFormat preferredDepthFormat)
Creates an instance of this object.
|
RenderTargetCube(GraphicsDevice graphicsDevice,
int size,
boolean mipMap,
SurfaceFormat preferredFormat,
DepthFormat preferredDepthFormat,
int preferredMultiSampleCount,
RenderTargetUsage usage)
Creates an instance of this object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Dispose(boolean disposing)
Immediately releases the unmanaged resources used by this Object.
|
DepthFormat |
getDepthStencilFormat()
Gets the depth format of this rendertarget.
|
int |
getMultiSampleCount()
Gets the number of multisample locations.
|
RenderTargetUsage |
getRenderTargetUsage()
Gets the usage mode of this rendertarget.
|
boolean |
IsContentLost()
Determines if the data has been lost due to a lost device event.
|
finalize, GetData, GetData, GetData, getSize, SetData, SetData, SetData
getFormat, getLevelCount
Dispose, getGraphicsDevice, IsDisposed, raise_disposing, toString
public RenderTargetCube(GraphicsDevice graphicsDevice, int size, boolean mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat)
graphicsDevice
- The graphics device to associate with this render target resource.size
- The width and height of this cube texture resource, in pixels.mipMap
- preferredFormat
- preferredDepthFormat
- public RenderTargetCube(GraphicsDevice graphicsDevice, int size, boolean mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
graphicsDevice
- The graphics device to associate with this render target resource.size
- The width and height of this cube texture resource, in pixels.mipMap
- preferredFormat
- preferredDepthFormat
- preferredMultiSampleCount
- usage
- public boolean IsContentLost()
public DepthFormat getDepthStencilFormat()
public int getMultiSampleCount()
public RenderTargetUsage getRenderTargetUsage()
protected void Dispose(boolean disposing)
GraphicsResource
Dispose
in class TextureCube