Namespaces
|
namespace
|
MaxSDK |
namespace
|
MaxSDK::Graphics |
Defines
|
#define |
MAX_VERTEX_STREAMS 16 |
#define |
MAX_OUTPUT_STREAMS 4 |
Enumerations
|
enum |
PrimitiveType {
PrimitivePointList,
PrimitiveLineList,
PrimitiveLineStrip,
PrimitiveTriangleList,
PrimitiveTriangleStrip,
PrimitiveTypeCount
} |
|
Supported primitive types.
More...
|
enum |
BufferClearFlag {
ClearBackbuffer = 0x1,
ClearDepthBuffer = 0x2,
ClearStencilBuffer = 0x4,
ClearAll = 0x7 } |
|
This flag describes the way to clear the
current buffers.
More...
|
enum |
BlendSelector {
BlendSelectorBlendFactor,
BlendSelectorBothInvSourceAlpha,
BlendSelectorBothSourceAlpha,
BlendSelectorDestinationAlpha,
BlendSelectorDestinationColor,
BlendSelectorInvBlendFactor,
BlendSelectorInvDestinationAlpha,
BlendSelectorInvDestinationColor,
BlendSelectorInvSourceAlpha,
BlendSelectorInvSourceColor,
BlendSelectorOne,
BlendSelectorSourceAlpha,
BlendSelectorSourceAlphaSat,
BlendSelectorSourceColor,
BlendSelectorZero
} |
|
blend selector.
More...
|
enum |
CullMode {
CullModeCW,
CullModeCCW,
CullModeNone } |
|
cull type.
More...
|
enum |
FillMode {
FillSolid,
FillWireFrame } |
|
fill mode for polygons
More...
|
enum |
CompareFunction {
CompareFunctionAlways,
CompareFunctionEqual,
CompareFunctionGreater,
CompareFunctionGreaterEqual,
CompareFunctionLess,
CompareFunctionLessEqual,
CompareFunctionNever,
CompareFunctionNotEqual
} |
|
compare functions
More...
|
enum |
ColorWriteEnable {
ColorWriteEnableNone
= 0,
ColorWriteEnableAlpha = 0x8,
ColorWriteEnableBlue = 0x4,
ColorWriteEnableGreen = 0x2,
ColorWriteEnableRed
= 0x1,
ColorWriteEnableRedGreenBlue = 0x7,
ColorWriteEnableRedGreenBlueAlpha = 0xf,
WRITEENABLE_FORCE_DWORD = 0x7fffffff
} |
enum |
BlendOperation {
BlendOperationAdd,
BlendOperationMax,
BlendOperationMin,
BlendOperationSubtract,
BlendOperationReverseSubtract
} |
|
blend operations
More...
|
enum |
StencilOperationType {
StencilOperationTypeDecrement
= 8,
StencilOperationTypeDecrementSaturation = 5,
StencilOperationTypeIncrement = 7,
StencilOperationTypeIncrementSaturation = 4,
StencilOperationTypeInvert
= 6,
StencilOperationTypeKeep = 1,
StencilOperationTypeReplace = 3,
StencilOperationTypeZeroStencil = 2,
STENCILOP_FORCE_DWORD
= 0x7fffffff
} |
|
Stencil buffer operation.
More...
|
enum |
AccessType {
AccessTypeNone
= 0x0,
ReadAcess = 0x1,
WriteAcess = 0x2,
ReadWriteAcess = ReadAcess | WriteAcess,
WriteDiscardAcess
} |
|
AccessType Types for accessing buffers.
More...
|
enum |
TextureFormat {
TextureFormatUnknown,
TextureFormatA8R8G8B8,
TextureFormatA16B16G16R16,
TextureFormatA32B32G32R32F,
TextureFormatCount
} |
|
TextureFormat indicates which type the
texture is.
More...
|
enum |
GraphicFeatureLevel {
Level_Unknown
= 0,
Level_NULL = 5,
Level2_0 = 20,
Level2_1 = 21,
Level3_0
= 30,
Level3_1 = 31,
Level4_0 = 40,
Level4_1 = 41,
Level4_5
= 45,
Level5_0 = 50,
Level_Count = 9
} |
|
This enum specifies the feature levels
device supported.
More...
|
enum |
TextureType {
TextureTypeUnknown
= 0,
TextureTypeImage1D = 1,
TextureTypeImage1DArray = 2,
TextureTypeImage2D = 3,
TextureTypeImage2DArray
= 4,
TextureTypeCubeMap = 5,
TextureTypeVolume = 6,
TextureTypeCount
} |
|
Texture type enums.
More...
|
enum |
ResourceUsage {
ResourceUsageNormal
= 0,
ResourceUsageDynamic = 1,
ResourceUsageStaging = 2,
ResourceUsageMask = 0xf,
ResourceUsageStream
= 0x10,
ResourceUsageTarget = 0x20
} |
|
Resource usage, used for texture.
More...
|
Functions
|
GraphicsDriverAPI size_t |
GetTextureFormatPixelSize (TextureFormat format) |
|
Get the number of bytes for each pixel by a
given texture format.
|