C# 클래스 SharpQuake.Render

파일 보기 프로젝트 열기: Memorix101/SharpQuake 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Origin Vector3
ViewPn Vector3
ViewRight Vector3
ViewUp Vector3

공개 메소드들

메소드 설명
AddEfrags ( entity_t ent ) : void

R_AddEfrags

BlobExplosion ( Vector3 &org ) : void

R_BlobExplosion

DisableMultitexture ( ) : void

GL_DisableMultitexture

EnableMultitexture ( ) : void

GL_EnableMultitexture

EntityParticles ( entity_t ent ) : void

R_EntityParticles

Init ( ) : void

R_Init

InitSky ( texture_t mt ) : void

R_InitSky called at level load A sky texture is 256*128, with the right side being a masked overlay

InitTextures ( ) : void
LavaSplash ( Vector3 &org ) : void

R_LavaSplash

NewMap ( ) : void

R_NewMap

ParseParticleEffect ( ) : void

R_ParseParticleEffect Parse an effect out of the server message

ParticleExplosion ( Vector3 &org ) : void

R_ParticleExplosion

ParticleExplosion ( Vector3 &org, int colorStart, int colorLength ) : void

R_ParticleExplosion2

PushDlights ( ) : void

R_PushDlights

RemoveEfrags ( entity_t ent ) : void

R_RemoveEfrags Call when removing an object from the world or moving it to another position

RenderView ( ) : void

R_RenderView r_refdef must be set before the first call

RocketTrail ( Vector3 &start, Vector3 &end, int type ) : void

R_RocketTrail

RunParticleEffect ( Vector3 &org, Vector3 &dir, int color, int count ) : void

R_RunParticleEffect

SubdivideSurface ( msurface_t fa ) : void

GL_SubdivideSurface Breaks a polygon up along axial 64 unit boundaries so that turbulent and sky warps can be done reasonably.

TeleportSplash ( Vector3 &org ) : void

R_TeleportSplash

TranslatePlayerSkin ( int playernum ) : void

R_TranslatePlayerSkin Translates a skin texture by the per-player color lookup

비공개 메소드들

메소드 설명
AddDynamicLights ( msurface_t surf ) : void

R_AddDynamicLights

AddLightBlend ( float r, float g, float b, float a2 ) : void
AllocBlock ( int w, int h, int &x, int &y ) : int
AllocParticle ( ) : particle_t
AnimateLight ( ) : void

R_AnimateLight

BlendLightmaps ( ) : void

R_BlendLightmaps

BoundPoly ( int numverts, Vector3 verts, Vector3 &mins, Vector3 &maxs ) : void

BoundPoly

BuildLightMap ( msurface_t surf, ByteArraySegment dest, int stride ) : void

R_BuildLightMap Combine and scale multiple lightmaps into the 8.8 format in blocklights

BuildLightMaps ( ) : void

GL_BuildLightmaps Builds the lightmap texture with all the surfaces from all brush models

BuildSurfaceDisplayList ( msurface_t fa ) : void

BuildSurfaceDisplayList

Clear ( ) : void

R_Clear

ClearParticles ( ) : void

R_ClearParticles

CommitLightmap ( int i ) : void
CreateSurfaceLightmap ( msurface_t surf ) : void

GL_CreateSurfaceLightmap

CullBox ( Vector3 &mins, Vector3 &maxs ) : bool

R_CullBox Returns true if the box is completely outside the frustom

DrawAliasFrame ( aliashdr_t paliashdr, int posenum ) : void

GL_DrawAliasFrame

DrawAliasModel ( entity_t e ) : void

R_DrawAliasModel

DrawAliasShadow ( aliashdr_t paliashdr, int posenum ) : void

GL_DrawAliasShadow

DrawBrushModel ( entity_t e ) : void

R_DrawBrushModel

DrawEntitiesOnList ( ) : void

R_DrawEntitiesOnList

DrawGLPoly ( glpoly_t p ) : void
DrawGLWaterPoly ( glpoly_t p ) : void
DrawGLWaterPolyLightmap ( glpoly_t p ) : void
DrawParticles ( ) : void

R_DrawParticles

DrawSequentialPoly ( msurface_t s ) : void

R_DrawSequentialPoly Systems that have fast state and texture changes can just do everything as it passes with no need to sort

DrawSkyChain ( msurface_t s ) : void

R_DrawSkyChain

DrawSpriteModel ( entity_t e ) : void

R_DrawSpriteModel

DrawTextureChains ( ) : void
DrawViewModel ( ) : void

R_DrawViewModel

DrawWaterSurfaces ( ) : void

R_DrawWaterSurfaces

DrawWorld ( ) : void

R_DrawWorld

EmitBothSkyLayers ( msurface_t fa ) : void

EmitBothSkyLayers Does a sky warp on the pre-fragmented glpoly_t chain This will be called for brushmodels, the world will have them chained together.

EmitSkyPolys ( msurface_t fa ) : void

EmitSkyPolys

EmitWaterPolys ( msurface_t fa ) : void

EmitWaterPolys Does a water warp on the pre-fragmented glpoly_t chain

GetSpriteFrame ( entity_t currententity ) : mspriteframe_t

R_GetSpriteFrame

InitParticleTexture ( ) : void
InitParticles ( ) : void
IsCollinear ( float prev, float cur, float next ) : bool
LightPoint ( Vector3 &p ) : int

R_LightPoint

MYgluPerspective ( double fovy, double aspect, double zNear, double zFar ) : void
MarkLeaves ( ) : void

R_MarkLeaves

MarkLights ( dlight_t light, int bit, mnodebase_t node ) : void

R_MarkLights

Mirror ( ) : void

R_Mirror

MirrorChain ( msurface_t s ) : void

R_MirrorChain

PolyBlend ( ) : void

R_PolyBlend

RecursiveLightPoint ( mnodebase_t node, Vector3 &start, Vector3 &end ) : int
RecursiveWorldNode ( mnodebase_t node ) : void

R_RecursiveWorldNode

RenderBrushPoly ( msurface_t fa ) : void

R_RenderBrushPoly

RenderDlight ( dlight_t light ) : void

R_RenderDlight

RenderDlights ( ) : void

R_RenderDlights

RenderDynamicLightmaps ( msurface_t fa ) : void

R_RenderDynamicLightmaps Multitexture

RenderScene ( ) : void

R_RenderScene r_refdef must be set before the first call

RotateForEntity ( entity_t e ) : void

R_RotateForEntity

SetFrustum ( ) : void

R_SetFrustum

SetupAliasFrame ( int frame, aliashdr_t paliashdr ) : void

R_SetupAliasFrame

SetupFrame ( ) : void

R_SetupFrame

SetupGL ( ) : void

R_SetupGL

SignbitsForPlane ( mplane_t p ) : int
SplitEntityOnNode ( mnodebase_t node ) : void

R_SplitEntityOnNode

StoreEfrags ( efrag_t ef ) : void

R_StoreEfrags FIXME: a lot of this goes away with edge-based

SubdividePolygon ( int numverts, Vector3 verts ) : void

SubdividePolygon

TextureAnimation ( texture_t t ) : texture_t

R_TextureAnimation Returns the proper texture for a given time and base texture

TimeRefresh_f ( ) : void

R_TimeRefresh_f For program optimization

UpdateRect ( msurface_t fa, glRect_t &theRect ) : void

메소드 상세

AddEfrags() 공개 정적인 메소드

R_AddEfrags
public static AddEfrags ( entity_t ent ) : void
ent entity_t
리턴 void

BlobExplosion() 공개 정적인 메소드

R_BlobExplosion
public static BlobExplosion ( Vector3 &org ) : void
org Vector3
리턴 void

DisableMultitexture() 공개 정적인 메소드

GL_DisableMultitexture
public static DisableMultitexture ( ) : void
리턴 void

EnableMultitexture() 공개 정적인 메소드

GL_EnableMultitexture
public static EnableMultitexture ( ) : void
리턴 void

EntityParticles() 공개 정적인 메소드

R_EntityParticles
public static EntityParticles ( entity_t ent ) : void
ent entity_t
리턴 void

Init() 공개 정적인 메소드

R_Init
public static Init ( ) : void
리턴 void

InitSky() 공개 정적인 메소드

R_InitSky called at level load A sky texture is 256*128, with the right side being a masked overlay
public static InitSky ( texture_t mt ) : void
mt texture_t
리턴 void

InitTextures() 공개 정적인 메소드

public static InitTextures ( ) : void
리턴 void

LavaSplash() 공개 정적인 메소드

R_LavaSplash
public static LavaSplash ( Vector3 &org ) : void
org Vector3
리턴 void

NewMap() 공개 정적인 메소드

R_NewMap
public static NewMap ( ) : void
리턴 void

ParseParticleEffect() 공개 정적인 메소드

R_ParseParticleEffect Parse an effect out of the server message
public static ParseParticleEffect ( ) : void
리턴 void

ParticleExplosion() 공개 정적인 메소드

R_ParticleExplosion
public static ParticleExplosion ( Vector3 &org ) : void
org Vector3
리턴 void

ParticleExplosion() 공개 정적인 메소드

R_ParticleExplosion2
public static ParticleExplosion ( Vector3 &org, int colorStart, int colorLength ) : void
org Vector3
colorStart int
colorLength int
리턴 void

PushDlights() 공개 정적인 메소드

R_PushDlights
public static PushDlights ( ) : void
리턴 void

RemoveEfrags() 공개 정적인 메소드

R_RemoveEfrags Call when removing an object from the world or moving it to another position
public static RemoveEfrags ( entity_t ent ) : void
ent entity_t
리턴 void

RenderView() 공개 정적인 메소드

R_RenderView r_refdef must be set before the first call
public static RenderView ( ) : void
리턴 void

RocketTrail() 공개 정적인 메소드

R_RocketTrail
public static RocketTrail ( Vector3 &start, Vector3 &end, int type ) : void
start Vector3
end Vector3
type int
리턴 void

RunParticleEffect() 공개 정적인 메소드

R_RunParticleEffect
public static RunParticleEffect ( Vector3 &org, Vector3 &dir, int color, int count ) : void
org Vector3
dir Vector3
color int
count int
리턴 void

SubdivideSurface() 공개 정적인 메소드

GL_SubdivideSurface Breaks a polygon up along axial 64 unit boundaries so that turbulent and sky warps can be done reasonably.
public static SubdivideSurface ( msurface_t fa ) : void
fa msurface_t
리턴 void

TeleportSplash() 공개 정적인 메소드

R_TeleportSplash
public static TeleportSplash ( Vector3 &org ) : void
org Vector3
리턴 void

TranslatePlayerSkin() 공개 정적인 메소드

R_TranslatePlayerSkin Translates a skin texture by the per-player color lookup
public static TranslatePlayerSkin ( int playernum ) : void
playernum int
리턴 void

프로퍼티 상세

Origin 공개적으로 정적으로 프로퍼티

public static Vector3 Origin
리턴 Vector3

ViewPn 공개적으로 정적으로 프로퍼티

public static Vector3 ViewPn
리턴 Vector3

ViewRight 공개적으로 정적으로 프로퍼티

public static Vector3 ViewRight
리턴 Vector3

ViewUp 공개적으로 정적으로 프로퍼티

public static Vector3 ViewUp
리턴 Vector3