REDShaderString.h

Macro Definitions

REDCheckSoftHeader

REDCheckGeometryHeader

REDCheckARBHeader

REDCheckNVHeader

REDCheckNVFPHeader

REDCheckAppleMetalHeader

Namespaces

RED

Types

ShaderString

Detailed Description

Macro Definition

REDCheckSoftHeader(iString, iSize)

Checks the startup string of a shader to look for a software shader.

Parameters
  • iString – Program string to test.

  • iSize – Byte size of the provided iString.

REDCheckGeometryHeader(iString, iSize)

Checks the startup string of a shader to look for a geometry vertex shader

Parameters
  • iString – Program string to test.

  • iSize – Byte size of the provided iString.

REDCheckARBHeader(iString, iSize)

Checks the startup string of a shader to look for an ARB shader.

Parameters
  • iString – Program string to test.

  • iSize – Byte size of the provided iString.

REDCheckNVHeader(iString, iSize)

Checks the startup string of a shader to look for a NVIDIA shader.

Parameters
  • iString – Program string to test.

  • iSize – Byte size of the provided iString.

REDCheckNVFPHeader(iString, iSize)

Checks the startup string of a shader to look for a NVIDIA fragment shader.

Parameters
  • iString – Program string to test.

  • iSize – Byte size of the provided iString.

REDCheckAppleMetalHeader(iString, iSize)

Checks the startup string of a shader to look for an Apple Metal native shader

Parameters
  • iString – Program string to test.

  • iSize – Byte size of the provided iString.