VolumeTexture.LockBox Method

Language:

Locks a box on a volume texture resource.

Overload List

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

Remarks

For performance reasons, dirty regions are recorded only for level 0 of a texture. Dirty regions are automatically recorded when Texture.LockRectangle is called without NoDirtyUpdate or 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.

See Also


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