nn::gd::CTR::gdResult Enumerated Type

Syntax

enum gdResult;

Value

Value Description
GD_RESULT_SUCCESS Represents success.
GD_RESULT_INVALID_PARAMETER Parameter is not correct.
GD_RESULT_NULL_PARAMETER NULL was specified for the parameter.
GD_RESULT_OUT_OF_RANGE Parameter is out of range.
GD_RESULT_OUT_OF_MEMORY Insufficient FCRAM memory region.
GD_RESULT_EXT_MEMORY_ALLOCATION_FAILED Insufficient VRAM memory region.
GD_RESULT_INVALID_MEMORY_REGION Memory region is not correct.
GD_RESULT_INVALID_FUNCTION_CALL Incorrect function call.
GD_RESULT_ALREADY_RELEASED
GD_RESULT_INPUTLAYOUT_INVALID_STREAM_SLOTS The input layout stream slots are invalid.
GD_RESULT_TEXTURE2D_INVALID_RESOLUTION Invalid Texture2D resolution.
GD_RESULT_TEXTURE2D_INVALID_SUBREGION_RESOLUTION Region is not correct.
GD_RESULT_TEXTURE2D_INVALID_FORMAT Invalid Texture2D format.
GD_RESULT_TEXTURE2D_INVALID_MEMORY_LAYOUT Memory layout is not correct.
GD_RESULT_TEXTURE2D_INVALID_MEMORY_LOCATION Memory location is not correct.
GD_RESULT_TEXTURE2D_INVALID_MIPLEVEL_INDEX Invalid Texture2D mipmap level index.
GD_RESULT_TEXTURE2D_INVALID_MIPLEVEL_INDEX_FOR_MIPMAP_AUTOGENERATION Invalid auto-generated Texture2D mipmap level index.
GD_RESULT_TEXTURE2D_INVALID_FORMAT_FOR_CREATING_RENDER_TARGET Invalid Texture2D format for creating the render target.
GD_RESULT_TEXTURE2D_INVALID_FORMAT_FOR_CREATING_DEPTH_STENCIL_TARGET Invalid Texture2D format for creating the depth stencil target.
GD_RESULT_DIFFERENT_RENDER_TARGET_AND_DEPTH_STENCIL_TARGET_RESOLUTION Render target and depth stencil target are not compatible.
GD_RESULT_TEXTURE2D_INVALID_TEXTURE_UNIT_ID Texture unit ID is not correct.
GD_RESULT_TEXTURE2D_INVALID_OFFSET The texture offset is invalid.
GD_RESULT_RESOURCE_ALREADY_MAPPED The resource has already been mapped.
GD_RESULT_RESOURCE_WAS_NOT_MAPPED The resource is not mapped.
GD_RESULT_NO_TEXTURE_BOUND A texture unit was specified, but no texture was set.
GD_RESULT_NO_TEXTURE_COORDINATES A texture unit was specified, but no texture coordinates were set.
GD_RESULT_INVALID_SHADER_UNIFORM_NAME Shader uniform name is not correct.
GD_RESULT_INVALID_SHADER_UNIFORM Shader uniform is not correct.
GD_RESULT_INVALID_SHADER_SIGNATURE Shader signature is not correct.
GD_RESULT_INVALID_SHADER_OPERATION Shader is not correct.
GD_RESULT_GEOMETRY_SHADER_INCOMPATIBLE_WITH_IMMEDIATE_DRAW Currently, the geometry shader cannot use immediate draw.
GD_RESULT_SYSTEM_NO_CMD_LIST_BIND Command list is not bound.
GD_RESULT_SYSTEM_INVALID_CMD_LIST_BIND Bound command list is not correct.
GD_RESULT_SYSTEM_RECEIVE_ERROR_FROM_GLGETERROR A GetError error occurred in the function. (The error might have occurred because of a previous nngx or gd function call.)
GD_RESULT_SYSTEM_NO_PACKET_TO_RECORD There is no data to save.
GD_RESULT_SYSTEM_NO_PACKET_RECORDED The save process has not started.
GD_RESULT_SYSTEM_A_PACKET_IS_ALREADY_BEING_RECORDED The save process has already started.
GD_RESULT_SYSTEM_INVALID_PACKET_ID Packet ID is not correct.
GD_RESULT_SYSTEM_REQUEST_LIST_INSERTION_INCOMPATIBLE_WITH_JUMP All requested insertions in the request list are incompatible with jump recording.
GD_RESULT_LAST
GD_RESULT_RESERVED_MAX_U32

Description

Different return values/error codes are returned from gd functions.

Revision History

2011/02/17
Initial version.

CONFIDENTIAL