Volume.LockBox Method

Language:

Locks a box on a volume resource.

Overload List

public GraphicsStream LockBox(Box, LockFlags);
public GraphicsStream LockBox(Box, LockFlags, out LockedBox);
public GraphicsStream LockBox(LockFlags);
public GraphicsStream LockBox(LockFlags, out LockedBox);
public Array LockBox(Type, Box, LockFlags, int[]);
public Array LockBox(Type, Box, LockFlags, out LockedBox, int[]);
public Array LockBox(Type, LockFlags, int[]);
public Array LockBox(Type, LockFlags, out LockedBox, int[]);

Remarks

The valid lock flags for this method are:

For performance reasons, dirty regions are recorded only for level zero of a texture. Dirty regions are automatically recorded when Volume.LockBox is called without LockFlags.NoDirtyUpdate or LockFlags.ReadOnly. For more information, see Device.UpdateTexture.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center