API Documentation
  • kha
    • arrays
      • ByteArray - kha.arrays
      • ByteBuffer - kha.arrays
      • Float32Array - kha.arrays
      • Float64Array - kha.arrays
      • Int16Array - kha.arrays
      • Int32Array - kha.arrays
      • Int8Array - kha.arrays
      • Uint16Array - kha.arrays
      • Uint32Array - kha.arrays
      • Uint8Array - kha.arrays
    • audio1
      • Audio - kha.audio1
      • AudioChannel - kha.audio1
    • audio2
      • ogg
        • tools
          • Crc32 - kha.audio2.ogg.tools
          • MathTools - kha.audio2.ogg.tools
          • Mdct - kha.audio2.ogg.tools
        • vorbis
          • data
            • Codebook - kha.audio2.ogg.vorbis.data
            • Comment - kha.audio2.ogg.vorbis.data
            • Floor - kha.audio2.ogg.vorbis.data
            • Floor0 - kha.audio2.ogg.vorbis.data
            • Floor1 - kha.audio2.ogg.vorbis.data
            • Header - kha.audio2.ogg.vorbis.data
            • IntPoint - kha.audio2.ogg.vorbis.data
            • Mapping - kha.audio2.ogg.vorbis.data
            • MappingChannel - kha.audio2.ogg.vorbis.data
            • Mode - kha.audio2.ogg.vorbis.data
            • Page - kha.audio2.ogg.vorbis.data
            • PageFlag - kha.audio2.ogg.vorbis.data
            • ProbedPage - kha.audio2.ogg.vorbis.data
            • ReaderError - kha.audio2.ogg.vorbis.data
            • ReaderErrorType - kha.audio2.ogg.vorbis.data
            • Residue - kha.audio2.ogg.vorbis.data
            • Setting - kha.audio2.ogg.vorbis.data
          • DecodeInitialResult - kha.audio2.ogg.vorbis
          • DecodePacketResult - kha.audio2.ogg.vorbis
          • Reader - kha.audio2.ogg.vorbis
          • VorbisDecodeState - kha.audio2.ogg.vorbis
          • VorbisDecoder - kha.audio2.ogg.vorbis
          • VorbisTools - kha.audio2.ogg.vorbis
      • Audio - kha.audio2
      • Audio1 - kha.audio2
      • AudioChannel - kha.audio2
      • Buffer - kha.audio2
      • ResamplingAudioChannel - kha.audio2
      • StreamChannel - kha.audio2
    • capture
      • AudioCapture - kha.capture
      • VideoCapture - kha.capture
    • deprecated
      • Painter - kha.deprecated
    • graphics1
      • Graphics - kha.graphics1
      • Graphics4 - kha.graphics1
    • graphics2
      • truetype
        • StbTruetype - kha.graphics2.truetype
        • Stbtt__active_edge - kha.graphics2.truetype
        • Stbtt__bitmap - kha.graphics2.truetype
        • Stbtt__buf - kha.graphics2.truetype
        • Stbtt__csctx - kha.graphics2.truetype
        • Stbtt__edge - kha.graphics2.truetype
        • Stbtt__point - kha.graphics2.truetype
        • Stbtt_aligned_quad - kha.graphics2.truetype
        • Stbtt_bakedchar - kha.graphics2.truetype
        • Stbtt_fontinfo - kha.graphics2.truetype
        • Stbtt_int16 - kha.graphics2.truetype
        • Stbtt_int32 - kha.graphics2.truetype
        • Stbtt_int8 - kha.graphics2.truetype
        • Stbtt_pack_context - kha.graphics2.truetype
        • Stbtt_pack_range - kha.graphics2.truetype
        • Stbtt_packedchar - kha.graphics2.truetype
        • Stbtt_temp_font_v_metrics - kha.graphics2.truetype
        • Stbtt_temp_glyph_h_metrics - kha.graphics2.truetype
        • Stbtt_temp_rect - kha.graphics2.truetype
        • Stbtt_temp_region - kha.graphics2.truetype
        • Stbtt_uint16 - kha.graphics2.truetype
        • Stbtt_uint32 - kha.graphics2.truetype
        • Stbtt_uint8 - kha.graphics2.truetype
        • Stbtt_vertex - kha.graphics2.truetype
        • VectorOfIntPointer - kha.graphics2.truetype
      • Graphics - kha.graphics2
      • Graphics1 - kha.graphics2
      • GraphicsExtension - kha.graphics2
      • HorTextAlignment - kha.graphics2
      • ImageScaleQuality - kha.graphics2
      • VerTextAlignment - kha.graphics2
    • graphics4
      • BlendingFactor - kha.graphics4
      • BlendingOperation - kha.graphics4
      • ColoredShaderPainter - kha.graphics4
      • CompareMode - kha.graphics4
      • ComputeShader - kha.graphics4
      • ConstantLocation - kha.graphics4
      • CubeMap - kha.graphics4
      • CullMode - kha.graphics4
      • DepthStencilFormat - kha.graphics4
      • FragmentShader - kha.graphics4
      • GeometryShader - kha.graphics4
      • Graphics - kha.graphics4
      • Graphics2 - kha.graphics4
      • ImageShaderPainter - kha.graphics4
      • IndexBuffer - kha.graphics4
      • InternalPipeline - kha.graphics4
      • MipMapFilter - kha.graphics4
      • PerFramebufferPipelineCache - kha.graphics4
      • PipelineCache - kha.graphics4
      • PipelineState - kha.graphics4
      • PipelineStateBase - kha.graphics4
      • ShaderStorageBuffer - kha.graphics4
      • SimplePipelineCache - kha.graphics4
      • StencilAction - kha.graphics4
      • StencilValue - kha.graphics4
      • TessellationControlShader - kha.graphics4
      • TessellationEvaluationShader - kha.graphics4
      • TexDir - kha.graphics4
      • TextShaderPainter - kha.graphics4
      • TextureAddressing - kha.graphics4
      • TextureFilter - kha.graphics4
      • TextureFormat - kha.graphics4
      • TextureUnit - kha.graphics4
      • Usage - kha.graphics4
      • VertexBuffer - kha.graphics4
      • VertexData - kha.graphics4
      • VertexElement - kha.graphics4
      • VertexShader - kha.graphics4
      • VertexStructure - kha.graphics4
    • graphics5_
      • AccelerationStructure - kha.graphics5_
      • BlendingFactor - kha.graphics5_
      • BlendingOperation - kha.graphics5_
      • CommandList - kha.graphics5_
      • CompareMode - kha.graphics5_
      • ConstantBuffer - kha.graphics5_
      • ConstantLocation - kha.graphics5_
      • CubeMap - kha.graphics5_
      • CullMode - kha.graphics5_
      • FragmentShader - kha.graphics5_
      • GeometryShader - kha.graphics5_
      • Graphics - kha.graphics5_
      • IndexBuffer - kha.graphics5_
      • MipMapFilter - kha.graphics5_
      • PipelineState - kha.graphics5_
      • PipelineStateBase - kha.graphics5_
      • RenderTarget - kha.graphics5_
      • StencilAction - kha.graphics5_
      • TessellationControlShader - kha.graphics5_
      • TessellationEvaluationShader - kha.graphics5_
      • TextureAddressing - kha.graphics5_
      • TextureFilter - kha.graphics5_
      • TextureFormat - kha.graphics5_
      • TextureUnit - kha.graphics5_
      • Usage - kha.graphics5_
      • VertexBuffer - kha.graphics5_
      • VertexData - kha.graphics5_
      • VertexElement - kha.graphics5_
      • VertexShader - kha.graphics5_
      • VertexStructure - kha.graphics5_
    • input
      • BlockInterventions - kha.input
      • Gamepad - kha.input
      • KeyCode - kha.input
      • Keyboard - kha.input
      • Mouse - kha.input
      • MouseCursor - kha.input
      • MouseEventBlockBehavior - kha.input
      • MouseImpl - kha.input
      • Pen - kha.input
      • Sensor - kha.input
      • SensorType - kha.input
      • Surface - kha.input
      • TouchDownEventBlockBehavior - kha.input
    • internal
      • AssetErrorCallback - kha.internal
      • AssetsBuilder - kha.internal
      • BytesBlob - kha.internal
      • HdrFormat - kha.internal
      • IntBox - kha.internal
      • IntCallback - kha.internal
      • ShadersBuilder - kha.internal
      • VoidCallback - kha.internal
    • math
      • FastMatrix2 - kha.math
      • FastMatrix3 - kha.math
      • FastMatrix4 - kha.math
      • FastVector2 - kha.math
      • FastVector3 - kha.math
      • FastVector4 - kha.math
      • Matrix2 - kha.math
      • Matrix3 - kha.math
      • Matrix4 - kha.math
      • Quaternion - kha.math
      • Random - kha.math
      • Vector2 - kha.math
      • Vector2i - kha.math
      • Vector3 - kha.math
      • Vector4 - kha.math
    • netsync
      • Client - kha.netsync
      • Controller - kha.netsync
      • ControllerBuilder - kha.netsync
      • Entity - kha.netsync
      • EntityBuilder - kha.netsync
      • Example - kha.netsync
      • LocalClient - kha.netsync
      • Network - kha.netsync
      • NodeProcessClient - kha.netsync
      • Server - kha.netsync
      • Session - kha.netsync
      • State - kha.netsync
      • Sync - kha.netsync
      • SyncBuilder - kha.netsync
      • UdpClient - kha.netsync
      • WebSocketClient - kha.netsync
    • network
      • Http - kha.network
      • HttpMethod - kha.network
    • simd
      • Float32x4 - kha.simd
    • vr
      • Pose - kha.vr
      • PoseState - kha.vr
      • SensorState - kha.vr
      • TimeWarpImage - kha.vr
      • TimeWarpParms - kha.vr
      • VrInterface - kha.vr
      • VrInterfaceEmulated - kha.vr
    • AlignedQuad - kha
    • AssetError - kha
    • Assets - kha
    • Blob - kha
    • Canvas - kha
    • CodeStyle - kha
    • Color - kha
    • Display - kha
    • DisplayImpl - kha
    • DisplayMode - kha
    • EnvironmentVariables - kha
    • FastFloat - kha
    • Float32ArrayExtensions - kha
    • Font - kha
    • FontStyle - kha
    • FrameTask - kha
    • Framebuffer - kha
    • FramebufferOptions - kha
    • HaxelibRunner - kha
    • Image - kha
    • Kravur - kha
    • KravurImage - kha
    • LoaderImpl - kha
    • OldSystemOptions - kha
    • Resource - kha
    • Rotation - kha
    • Scaler - kha
    • Scheduler - kha
    • ScreenCanvas - kha
    • ScreenRotation - kha
    • Shaders - kha
    • Sound - kha
    • Storage - kha
    • StorageFile - kha
    • StringExtensions - kha
    • System - kha
    • SystemImpl - kha
    • SystemOptions - kha
    • TargetRectangle - kha
    • TimeTask - kha
    • Video - kha
    • Window - kha
    • WindowFeatures - kha
    • WindowMode - kha
    • WindowOptions - kha

class PipelineState

package kha.graphics4

extends PipelineStateBase

@:directlyUsed

Constructor

new()

Methods

compile():Void

getConstantLocation(name:String):ConstantLocation

getTextureUnit(name:String):TextureUnit

set():Void

Inherited Variables

Defined by PipelineStateBase

alphaBlendDestination:BlendingFactor

alphaBlendOperation:BlendingOperation

alphaBlendSource:BlendingFactor

blendDestination:BlendingFactor

blendOperation:BlendingOperation

blendSource:BlendingFactor

colorAttachmentCount:Int

colorAttachments:Array<TextureFormat>

write onlycolorWriteMask:Bool

colorWriteMaskAlpha:Bool

colorWriteMaskBlue:Bool

colorWriteMaskGreen:Bool

colorWriteMaskRed:Bool

colorWriteMasksAlpha:Array<Bool>

colorWriteMasksBlue:Array<Bool>

colorWriteMasksGreen:Array<Bool>

colorWriteMasksRed:Array<Bool>

conservativeRasterization:Bool

cullMode:CullMode

depthMode:CompareMode

depthStencilAttachment:DepthStencilFormat

depthWrite:Bool

fragmentShader:FragmentShader

geometryShader:GeometryShader

inputLayout:Array<VertexStructure>

stencilBackBothPass:StencilAction

stencilBackDepthFail:StencilAction

stencilBackFail:StencilAction

stencilBackMode:CompareMode

stencilFrontBothPass:StencilAction

stencilFrontDepthFail:StencilAction

stencilFrontFail:StencilAction

stencilFrontMode:CompareMode

stencilReadMask:Int

stencilReferenceValue:StencilValue

stencilWriteMask:Int

tessellationControlShader:TessellationControlShader

tessellationEvaluationShader:TessellationEvaluationShader

vertexShader:VertexShader

Inherited Methods

© 2025