Table of Contents

Class NeoVeldridMappedResourceException

Namespace
NeoVeldrid
Assembly
NeoVeldrid.dll

Represents errors that occur while mapping a DeviceBuffer or Texture into CPU-accessible memory, such as a failed map, a conflicting map mode, or using a resource that is currently mapped.

public class NeoVeldridMappedResourceException : NeoVeldridException, ISerializable
Inheritance
NeoVeldridMappedResourceException
Implements
Inherited Members

Properties

Resource

Gets the resource whose mapping state caused the error.

public MappableResource Resource { get; }

Property Value

MappableResource

Subresource

Gets the subresource involved in the error. This is 0 for buffers, which have no subresources.

public uint Subresource { get; }

Property Value

uint