Describes the size and format of a texture or a render target.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.0.0.0 (1.0.0.9509)
Syntax
| C# |
|---|
public struct RenderTargetFormat |
| Visual Basic |
|---|
Public Structure RenderTargetFormat |
| Visual C++ |
|---|
public value class RenderTargetFormat |
Remarks
All properties are Nullable. A value of nullNothingnullptra null reference (Nothing in Visual Basic) means that the property is undefined. For example, if Width is nullNothingnullptra null reference (Nothing in Visual Basic), then it is undefined and the user may choose any suitable width.
A RenderTargetFormat can be also be used to describe cube maps. In this case the Width defines the size of the cube map and Height should be ignored because cube map faces are always quadratic.