Class FrameBufferInfoPart
This class represents the FrameBuffer information part.
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class FrameBufferInfoPart : AssetPart
Fields
ColorTextures
Gets the color textures.
Declaration
public TextureSlice[] ColorTextures
Field Value
| Type | Description |
|---|---|
| TextureSlice[] |
DepthTexture
The depth texture.
Declaration
public TextureSlice DepthTexture
Field Value
| Type | Description |
|---|---|
| TextureSlice |
Methods
Read(BinaryReader)
Reads FrameBufferPart from a binary file.
Declaration
public static FrameBufferInfoPart Read(BinaryReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryReader | reader | Binary reader. |
Returns
| Type | Description |
|---|---|
| FrameBufferInfoPart | A new FrameBufferPart instance. |
Write(BinaryWriter)
Writes the current instance to a binary file.
Declaration
public override void Write(BinaryWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | Binary writer. |