Class DX11FrameBuffer
FrameBuffer implementation on DirectX.
Inherited Members
Namespace: Evergine.DirectX11
Assembly: Evergine.DirectX11.dll
Syntax
public class DX11FrameBuffer : FrameBuffer, ILoadable, IDisposable, IDependencyObject
Constructors
DX11FrameBuffer(FrameBufferAttachment?, FrameBufferAttachment[], bool)
Initializes a new instance of the DX11FrameBuffer class.
Declaration
public DX11FrameBuffer(FrameBufferAttachment? depthTarget, FrameBufferAttachment[] colorTargets, bool disposeAttachments = true)
Parameters
Type | Name | Description |
---|---|---|
FrameBufferAttachment? | depthTarget | The depth texture which must have been created with DepthStencil flag. |
FrameBufferAttachment[] | colorTargets | The array of color textures, all of which must have been created with RenderTarget flags. |
bool | disposeAttachments | When this framebuffer is disposed, dispose the attachment textures too. |
Fields
ColorTargetViews
The renderTargetView array of this DX11FrameBuffer.
Declaration
public ID3D11RenderTargetView[] ColorTargetViews
Field Value
Type | Description |
---|---|
ID3D11RenderTargetView[] |
DepthTargetview
The depthTargetView of this DX11FrameBuffer.
Declaration
public ID3D11DepthStencilView DepthTargetview
Field Value
Type | Description |
---|---|
ID3D11DepthStencilView |
Properties
Name
Gets or sets a string identifying this instance. Can be used in graphics debuggers tools.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|