| RenderTargetFormat Constructor (NullableInt32, NullableInt32, NullableBoolean, NullableSurfaceFormat, NullableDepthFormat, NullableInt32, NullableRenderTargetUsage) |
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public RenderTargetFormat(
Nullable<int> width,
Nullable<int> height,
Nullable<bool> mipmap,
Nullable<SurfaceFormat> surfaceFormat,
Nullable<DepthFormat> depthStencilFormat,
Nullable<int> multiSampleCount,
Nullable<RenderTargetUsage> usage
)
Public Sub New (
width As Nullable(Of Integer),
height As Nullable(Of Integer),
mipmap As Nullable(Of Boolean),
surfaceFormat As Nullable(Of SurfaceFormat),
depthStencilFormat As Nullable(Of DepthFormat),
multiSampleCount As Nullable(Of Integer),
usage As Nullable(Of RenderTargetUsage)
)
public:
RenderTargetFormat(
Nullable<int> width,
Nullable<int> height,
Nullable<bool> mipmap,
Nullable<SurfaceFormat> surfaceFormat,
Nullable<DepthFormat> depthStencilFormat,
Nullable<int> multiSampleCount,
Nullable<RenderTargetUsage> usage
)
new :
width : Nullable<int> *
height : Nullable<int> *
mipmap : Nullable<bool> *
surfaceFormat : Nullable<SurfaceFormat> *
depthStencilFormat : Nullable<DepthFormat> *
multiSampleCount : Nullable<int> *
usage : Nullable<RenderTargetUsage> -> RenderTargetFormat
Parameters
- width
- Type: SystemNullableInt32
The width or if the width is undefined. - height
- Type: SystemNullableInt32
The height or if the height is undefined.
- mipmap
- Type: SystemNullableBoolean
to enable a full mipmap chain. to disable
mipmapping. if the mipmapping behavior is undefined.
- surfaceFormat
- Type: SystemNullableSurfaceFormat
The surface format or if the surface format is undefined.
- depthStencilFormat
- Type: SystemNullableDepthFormat
The depth/stencil format or if the depth/stencil format is undefined.
- multiSampleCount
- Type: SystemNullableInt32
The number of sample locations during multisampling or if the
number of sample locations is undefined.
- usage
- Type: SystemNullableRenderTargetUsage
The render target usage or if the usage is undefined.
Exceptions See Also