Click or drag to resize

RenderResourcesCreate Method

Creates OpenGL resources in a specific OpenGL context.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public static RenderResources Create(
	RenderContext renderContext,
	RenderResolution resolution,
	int samples,
	ExtraBuffersAllocation buffersAllocation
)

Parameters

renderContext
Type: Lumiscaphe.Workshop.InteropRenderContext
The OpenGL context.
resolution
Type: Lumiscaphe.Workshop.InteropRenderResolution
The Frame Buffer Objects maximum resolution.
samples
Type: SystemInt32
The hardware multi-sampling value.
buffersAllocation
Type: Lumiscaphe.Workshop.InteropExtraBuffersAllocation
Extra buffers to allocate depending on the application needs.

Return Value

Type: RenderResources
The created OpenGL resources.
Exceptions
ExceptionCondition
ObjectNullExceptionrenderContext == null
ObjectDestroyedExceptionRenderContext::IsDestroyed == true
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also