RenderTexture Constructor (UInt32, UInt32, Boolean)

SFML.Net

RenderTexture Constructor (UInt32, UInt32, Boolean)
Create the render-texture with the given dimensions and an optional depth-buffer attached

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public RenderTexture(
	uint width,
	uint height,
	bool depthBuffer
)
Public Sub New ( 
	width As UInteger,
	height As UInteger,
	depthBuffer As Boolean
)
public:
RenderTexture(
	unsigned int width, 
	unsigned int height, 
	bool depthBuffer
)
new : 
        width : uint32 * 
        height : uint32 * 
        depthBuffer : bool -> RenderTexture

Parameters

width
Type: SystemUInt32
Width of the render-texture
height
Type: SystemUInt32
Height of the render-texture
depthBuffer
Type: SystemBoolean
Do you want a depth-buffer attached?
See Also