Creates a renderer that renders a volume using static alpha for all texels.

Namespace: VideoDVR
Assembly: VideoDVR (in VideoDVR.exe) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static DVRRenderer RenderVolume(
	Texture volume,
	float alpha
)
Visual Basic
Public Shared Function RenderVolume ( _
	volume As Texture, _
	alpha As Single _
) As DVRRenderer
Visual C++
public:
static DVRRenderer^ RenderVolume(
	Texture^ volume, 
	float alpha
)

Parameters

volume
Type: Texture
A 3D texture representing the volume. Must not be null.
alpha
Type: System..::..Single
The texel alpha. Must be between 0 and 1.

Return Value

The renderer.

Exceptions

See Also