Class Framebuffer.DepthAttachmentFormat
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Depth attachment pixel format and type specification.
csharp
public record Framebuffer.DepthAttachmentFormat : IEquatable<Framebuffer.DepthAttachmentFormat>Inheritance
object ← Framebuffer.DepthAttachmentFormat
Implements
IEquatable<Framebuffer.DepthAttachmentFormat>
Constructors
DepthAttachmentFormat(PixelInternalFormat, PixelType)
Depth attachment pixel format and type specification.
csharp
public DepthAttachmentFormat(PixelInternalFormat InternalFormat, PixelType PixelType)Parameters
InternalFormat PixelInternalFormat
PixelType PixelType
Fields
Depth16
16-bit unsigned integer depth format.
csharp
public static readonly Framebuffer.DepthAttachmentFormat Depth16Field Value
Framebuffer.DepthAttachmentFormat
Depth32F
32-bit floating-point depth format.
csharp
public static readonly Framebuffer.DepthAttachmentFormat Depth32FField Value
Framebuffer.DepthAttachmentFormat
Depth32FStencil8
32-bit floating-point depth with 8-bit stencil format.
csharp
public static readonly Framebuffer.DepthAttachmentFormat Depth32FStencil8Field Value
Framebuffer.DepthAttachmentFormat
Properties
InternalFormat
csharp
public PixelInternalFormat InternalFormat { get; init; }Property Value
PixelInternalFormat
PixelType
csharp
public PixelType PixelType { get; init; }Property Value
PixelType
Methods
ToAttachmentFormat()
Converts this depth format to a generic .
csharp
public Framebuffer.AttachmentFormat ToAttachmentFormat()Returns
Operators
implicit operator AttachmentFormat(DepthAttachmentFormat)
Implicitly converts this depth format to a generic .
csharp
public static implicit operator Framebuffer.AttachmentFormat(Framebuffer.DepthAttachmentFormat depthFormat)Parameters
depthFormat Framebuffer.DepthAttachmentFormat

