MapSubresource(Texture1D,Int32,Int32,MapMode,MapFlags,DataStream) Method
In This Topic
Maps the data contained in a subresource to a memory pointer, and denies the GPU access to that subresource.
Syntax
'Declaration
Public Overloads Function MapSubresource( _
ByVal As Texture1D, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As MapMode, _
ByVal As MapFlags, _
ByRef As DataStream _
) As DataBox
public DataBox MapSubresource(
Texture1D ,
System.int ,
System.int ,
MapMode ,
MapFlags ,
out DataStream
)
Parameters
- resource
- The resource.
- mipSlice
- The mip slice.
- arraySlice
- The array slice.
- mode
- The mode.
- flags
- The flags.
- stream
- The output stream containing the pointer.
Return Value
See Also