nw::gfx::GraphicsDevice Class

Syntax

class GraphicsDevice

Description

The class for setting rendering content in the GPU.

Enumerated Types

Lookup Table related
LutTarget These are the definitions for targets set for LookupTable.

Member Functions

Lookup Table related
S SetLutIsAbs Specifies whether LUT input is absolute value.
S SetLutInput Specifies the LUT input value.
S SetLutScale Specifies the LUT scale value.
S ActivateLutParameters Command output of LUT parameters.
S ResetLutParameters Resets the states of the LUT parameters.
S ActivateLookupTable Sets a lookup table in the lookup table cache.
S InvalidateLookupTable Deletes a lookup table that has been set in lookup table cache.
S InvalidateAllLookupTables Invalidates all lookup tables.
Rasterization related
S SetPolygonOffsetEnabled Sets the flag for whether to enable polygon offsets or not.
S SetPolygonOffsetUnit Sets the unit element of the polygon offset.
S ActivatePolygonOffset Issues command for polygon offset.
Blender related
S SetBlendEnabled Enables and disables blending computations.
Fragment Operations related
S SetFragmentOperationMode Sets the fragment operation mode.
S ActivateFragmentOperationMode Sets the fragment operation mode.
S SetDepthTestEnabled Enables and disables depth buffering.
S SetStencilTestEnabled Enables and disables the stencil test.
S SetDepthRange Sets the depth range.
S SetWScale Configures the WScale settings.
S SetDepthFormat Sets the depth format.
Mask related
S SetColorMask Sets the color mask.
S SetDepthMaskEnabled Sets the depth mask.
S SetStencilMask Sets the stencil mask.
S ActivateFrameBuffer Issues the command to activate the framebuffer.
S ActivateMask Issues the command to activate mask.
Light-Related
S ResetFragmentLightEnabled Resets the enable flag of the light.
S GetFragmentLightPositionW Obtains the value of position W.
S SetFragmentLightPositionW Sets the value of position W.
S SetFragmentLightShadowed Enables shadow attenuation.
S SetFragmentLightSpotEnabled Enables spotlights.
S SetFragmentLightDistanceAttnEnabled Enables distance attenuation.
S ActivateFragmentLightDistanceAttnTable Sets the distance attenuation table.
S ActivateFragmentLightSpotTable Sets the spot table.
S ActivateFragmentLightDistanceAttnScaleBias Issues the scale and bias commands for distance attenuation.
S ActivateFragmentLightPosition Issues a command for fragment light.
S ActivateFragmentLightEnabled Issues a command to set fragment light to enabled.
Other
S ActivateViewport Sets the size of window for the rendering target surface.
S SetRenderBufferSize Sets the rendering buffer size.
S ActivateScissor Issues scissoring rectangle information.
S Report Displays the status of GraphicsDevice.

CONFIDENTIAL