C# 클래스 Axiom.RenderSystems.Xna.XnaGpuProgram

Xna implementation of a few things common to low-level vertex & fragment programs
상속: Axiom.Graphics.GpuProgram
파일 보기 프로젝트 열기: WolfgangSt/axiom

보호된 프로퍼티들

프로퍼티 타입 설명
device Microsoft.Xna.Framework.Graphics.GraphicsDevice
shaderCode byte[]

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
XnaGpuProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, Microsoft.Xna.Framework.Graphics device ) : System

보호된 메소드들

메소드 설명
LoadFromShaderCode ( ) : void

Loads a shader object from the supplied shader code.

LoadFromSource ( ) : void

Loads a Xna shader from the assembler source.

load ( ) : void

Overridden to allow for loading microcode from external sources.

메소드 상세

LoadFromShaderCode() 보호된 추상적인 메소드

Loads a shader object from the supplied shader code.
protected abstract LoadFromShaderCode ( ) : void
리턴 void

LoadFromSource() 보호된 메소드

Loads a Xna shader from the assembler source.
protected LoadFromSource ( ) : void
리턴 void

XnaGpuProgram() 공개 메소드

public XnaGpuProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, Microsoft.Xna.Framework.Graphics device ) : System
parent Axiom.Core.ResourceManager
name string
handle System.UInt64
group string
isManual bool
loader IManualResourceLoader
device Microsoft.Xna.Framework.Graphics
리턴 System

load() 보호된 메소드

Overridden to allow for loading microcode from external sources.
protected load ( ) : void
리턴 void

프로퍼티 상세

device 보호되어 있는 프로퍼티

Reference to the current XNA device object.
protected GraphicsDevice,Microsoft.Xna.Framework.Graphics device
리턴 Microsoft.Xna.Framework.Graphics.GraphicsDevice

shaderCode 보호되어 있는 프로퍼티

ShaderCode set externally, most likely from the HLSL compiler.
protected byte[] shaderCode
리턴 byte[]