Interface IContextConfig
interface IContextConfig
Extends com.amazon.apmf.IStandard
Defines a context configuration. Clients can call [IGpuDevice#createContextConfig] to create
a context configurations (IContextConfig) based on a ContextConfigAttributes
object. While creating IContext and IGraphicsSurface, the desired IContextConfig object needs to be passed in.
Methods
numRedBits()
i32 numRedBits()
Returns
i32
Number of red bits in color buffer
numGreenBits()
i32 numGreenBits()
Returns
i32
Number of green bits in color buffer
numBlueBits()
i32 numBlueBits()
Returns
i32
Number of blue bits in color buffer
numAlphaBits()
i32 numAlphaBits()
Returns
i32
Number of alpha bits in color buffer
numDepthBits()
i32 numDepthBits()
Returns
i32
Number of depth bits in depth buffer
numStencilBits()
i32 numStencilBits()
Returns
i32
Number of stencil bits in stencil buffer
IsPackedDepthStencilBuffer()
bool IsPackedDepthStencilBuffer()
Returns
bool
Is a packed depth stencil buffer
numSamplesPerPixel()
i32 numSamplesPerPixel()
Returns
i32
Number of samples per pixel
presentationMode()
PresentationMode presentationMode()
Returns
PresentationMode
Refers to how images are presented to the screen
compressionPolicy()
CompressionPolicy compressionPolicy()
Returns
CompressionPolicy
Refers to levels of internal compression system can enable
isLossyCompressionOk()
bool isLossyCompressionOk()
Returns
bool
Indicates if lossy compression is OK
nativeConfigAttributes()
i32[] nativeConfigAttributes()
Returns
i32[]
Array of native attributes and their values

