Classes | Enumerations | Enumerator
Data Type Declarations

Classes

struct  TConstantInfo
 This structure is used to return information about variables/constants used in a shader program. More...
 

Enumerations

enum  TColorFormat {
  TCF_UNKNOWN = 0, TCF_MONO = 1, TCF_RGB24 = 2, TCF_XRGB = 3,
  TCF_ARGB = 4, TCF_GR16 = 5, TCF_32F = 6
}
 color modes More...
 
enum  TConstantClass { TCC_UNKNOWN = 0, TCC_SCALAR = 1 }
 Defines the class of a constant used in the shader. More...
 
enum  TConstantType { TCT_UNKNOWN = 0, TCT_FLOAT = 1 }
 Defines the type of a constant used in the shader. More...
 
enum  TProjectionType { TPT_PARALLEL = 0, TPT_PERSPECTIVE = 1 }
 Defines the projection type used for rendering. More...
 
enum  TShaderVersion { TPSV_20 = 0, TPSV_30 = 1 }
 Defines a shader version used to compile a shader program. More...
 
typedef void * CVD3D
 Handle to the main Direct3D object used to create all other objects.
 
typedef void * CVD3DOBJECT
 Handle to surfaces and textures to hold the images.
 
typedef void * CVD3DMIRROR
 Handle to a mirror object which reflects a texture back to the host.
 
typedef void * CVD3DSHADER
 Handle to a pixel shader.
 

Detailed Description

Typedef Documentation

Handle to the main Direct3D object used to create all other objects.

Supported platforms:
Win32
Win64

Handle to a mirror object which reflects a texture back to the host.

Supported platforms:
Win32
Win64

Handle to surfaces and textures to hold the images.

Supported platforms:
Win32
Win64

Handle to a pixel shader.

Supported platforms:
Win32
Win64

Enumeration Type Documentation

color modes

Defines a colour format of an image stored on the GPU memory.

Supported platforms:
Win32
Win64
Examples:
Delphi - Delphi BayerToRGB Example
Visual Basic .Net - VB.NET GPU Example
Visual C++ - VC GPU Demo
Enumerator:
TCF_UNKNOWN 

This describes an unknown colour format which is not supported within CVB.

Attention
Do not use this colour format for the creation of an image. This colour format should only be used when reading the variable!
TCF_MONO 

Monochrome one-plane image.

TCF_RGB24 

RGB colour image using 8-bit per pixel.

TCF_XRGB 

XRGB colour image using 8-bit per pixel.

This image format can either used to process 4 monochrome images in parallel or 
for x-blending multiple colour images in the rendering process.   
TCF_ARGB 

ARGB colour image using 8-bit per pixel. A refers to the alpha channel.

This image format can either used to process 4 monochrome images in parallel or 
for alpha-blending multiple colour images in the rendering process.   
TCF_GR16 

This image employs the red and green colour channel. Both colour channels using 16-bit per pixel.

TCF_32F 

32-bit floating point image.

Defines the class of a constant used in the shader.

Supported platforms:
Win32
Win64
Related Topics:
D3DGetShaderConstantInfo,
TConstantInfo,
TConstantType
Enumerator:
TCC_UNKNOWN 

Unknown class of a constant used in the shader.

TCC_SCALAR 

Scalar class of a constant used in the shader.

Defines the type of a constant used in the shader.

Supported platforms:
Win32
Win64
Related Topics:
D3DGetShaderConstantInfo,
TConstantInfo,
TConstantClass
Enumerator:
TCT_UNKNOWN 

Unknown type of a constant used in the shader.

TCT_FLOAT 

Floating point type of a constant used in the shader.

Defines the projection type used for rendering.

Refer to the <i>Glossary</i> to learn more about projection types. 
Supported platforms:
Win32
Win64
Related Topics:
D3DGetProjectionType,
D3DSetProjectionType
Enumerator:
TPT_PARALLEL 

This is an orthogonal projection that projects the coordinates of objects in a scene only by using rays that are orthogonal to the image plane.

TPT_PERSPECTIVE 

A perspective projection uses all other rays from the camera position to the image plane.

Defines a shader version used to compile a shader program.

Refer to the <i>Glossary</i> to learn more about the different pixel shader versions. 
Supported platforms:
Win32
Win64
Related Topics:
D3DCreateShaderFromFile,
D3DCreateShaderFromString
Enumerator:
TPSV_20 

Shader version 2.0.

TPSV_30 

Shader version 3.0.