|
SpriteBatchDraw(ShaderResourceView, RectangleF, Boolean, Color4) Method |
Draw method adds the specified texture to the destinationRectangle and with specified mask defined by the color parameter.
Draw method must be called after Begin and End methods are called.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public void Draw(
ShaderResourceView texture,
RectangleF destinationRectangle,
bool isDestinationRelative,
Color4 color
)
Parameters
- texture ShaderResourceView
- texture as ShaderResourceView
- destinationRectangle RectangleF
- RectangleF that defines the destination rectangle
- isDestinationRelative Boolean
- when true, then the destination rectangle coordinates are relative (in range from 0 to 1); when false then the destination coordinate units are pixels
- color Color4
- mask as Color4
See Also