Logo
Classes | Enumerations | Functions | Variables
SharpKmyGfx Namespace Reference

Classes

class  BillboardChar
 
struct  BlendInfo
 
class  Buffer
 
class  CameraGizmo
 
class  Color
 
class  Cube
 
class  DecalVolume
 
class  Drawable
 
class  EmoteInstance
 
class  EmoteTexture
 
class  Font
 
class  Framebuffer
 
class  GameView
 
class  GameViewDrawHook
 
class  GameViewDrawSuspendChecker
 
class  GeomCluster
 
class  GeometryInstance
 
class  GfxDriver
 
class  GfxTest
 
class  Grid
 
class  ICBMaterial
 
class  InternalCommandBuffer
 
class  InternalCommandList
 
class  LegacyParticleDef
 
class  LegacyParticleRoot
 
class  LineCube
 
class  LocalLight
 
class  Manipulator
 
class  Material
 
class  MaterialInfo
 
class  MaterialInstance
 
class  ModelData
 
class  ModelInstance
 
class  NativeGameViewDrawHook
 
class  nativeRenderTextureRenderer
 
class  NodeInstance
 
class  ParticleInstance
 
class  ParticleRoot
 
class  Plane
 
class  Primitive
 
class  RefCapture
 
class  Render
 
class  RenderTexture
 
class  Shader
 
class  SharedPtr
 
class  SpriteBatch
 
struct  StateInfo
 
class  Texture
 
class  Transform
 
class  UniformWriter
 
class  VertexBuffer
 
struct  VertexPositionColor
 
struct  VertexPositionNormalMapTexture2Color
 
struct  VertexPositionNormalTextureColor
 
struct  VertexPositionTextureColor
 

Enumerations

enum class  BLENDTYPE {
  kOPAQUE , kALPHA , kADD , kSUB ,
  kMODULATE , kPREMULTIPLIED , kCOUNT
}
 
enum class  CULLTYPE { kBACK , kNONE , kFRONT , kDOUBLE }
 
enum class  STENCILOP { kKEEP , kREPLACE , kINC , kDEC }
 
enum class  FUNCTYPE {
  kNEVER , kLESS , kEQUAL , kLEQUAL ,
  kGREATER , kNOTEQUAL , kGEQUAL , kALWAYS
}
 
enum class  ModelBoundSphereDrawType { None , All , Selected }
 
enum class  GameViewDrawHookPoint {
  kAfterOpaque , kGizmoWithDepth , kGizmoWithoutDepth , kAfterUI ,
  kAfterFinalCopy
}
 
enum class  PrimitiveType {
  Points , Lines , LineStrip , Triangles ,
  TriangleStrip , TriangleFan
}
 
enum class  IndexType { U8 , U16 , U32 }
 
enum class  BlendFactor {
  Zero , One , SrcColor , OneMinusSrcColor ,
  DstColor , OneMinusDstColor , SrcAlpha , OneMinusSrcAlpha ,
  DstAlpha , OneMinusDstAlpha
}
 
enum class  EquationType {
  Add , Subtract , ReverseSubtract , Min ,
  Max
}
 
enum class  CullType { Back , None , Front , Double }
 
enum class  PolygonMode { Point , Line , Fill }
 
enum class  UNIFORMPARAMTYPE {
  kFLOAT , kVEC2 , kVEC3 , kVEC4 ,
  kCOLOR3 , kCOLOR4 , kMATRIX , kINT ,
  kINT2 , kINT3 , kBOOL , kBOOL_TRIGGER ,
  kENUM , kENUM_TRIGGER , kTEXTURE , kINVALID
}
 
enum class  TEXTUREFILTER { kNEAREST , kBILINEAR }
 
enum class  WRAPTYPE { kREPEAT , kCLAMP , kMIRROR }
 
enum class  TEXTUREFFORMAT {
  kINVALID = -1 , kRGBA , kRGB8 , kR8 ,
  kR16 , kR16F , kRGBA16F , kRGB32F ,
  kRGBA32F , kDEPTH16 , kDEPTH24_STENCIL8 , kSHADOW16 ,
  kSRGBA8 , kSRGB8 , kRGB10_A2 , kCOMPRESSED_RGB ,
  kCOMPRESSED_SRGB , kCOMPRESSED_RGBA1 , kCOMPRESSED_SRGBA1 , kCOMPRESSED_RGBA8 ,
  kCOMPRESSED_SRGBA8 , kCOMPRESSED_BC1 , kCOMPRESSED_BC1S , kCOMPRESSED_BC3 ,
  kCOMPRESSED_BC3S , kCOMPRESSED_BC5 , kCOMPRESSED_BC6 , kCOUNT
}
 
enum class  TEXTUREUSAGE { kDefault , kNormal , k2D }
 
enum class  TEXTURESHAPE { k2D , kCube , k3D }
 

Functions

static void EmoteDrawFunc (void *ptr, const int *viewport, void *gfxPtr)
 
static void emoteDrawFunc (void *param, const int *viewport, void *gfxPtr)
 
void callback (float delta, void *param, kmyGfx::FixedUpdateCallbackType type)
 
static void screenShotCallback (int w, int h, void *buffer, const char *path)
 
static UNIFORMPARAMTYPE getParamType (kmyGfx::UniformInfoItem *i)
 
static kmyMath::Matrix4 getModelNodeMatrix (kmyGfx::ModelData *mdl, kmyGfx::nodeInfo *node)
 

Variables

static bool sEmoteInit = false
 
static kmyGfx::TEXTURETYPE shapeTypeTbl []
 

Enumeration Type Documentation

◆ BlendFactor

enum class SharpKmyGfx::BlendFactor
strong
Enumerator
Zero 
One 
SrcColor 
OneMinusSrcColor 
DstColor 
OneMinusDstColor 
SrcAlpha 
OneMinusSrcAlpha 
DstAlpha 
OneMinusDstAlpha 

◆ BLENDTYPE

enum class SharpKmyGfx::BLENDTYPE
strong
Enumerator
kOPAQUE 
kALPHA 
kADD 
kSUB 
kMODULATE 
kPREMULTIPLIED 
kCOUNT 

◆ CULLTYPE

enum class SharpKmyGfx::CULLTYPE
strong
Enumerator
kBACK 
kNONE 
kFRONT 
kDOUBLE 

◆ CullType

enum class SharpKmyGfx::CullType
strong
Enumerator
Back 
None 
Front 
Double 

◆ EquationType

enum class SharpKmyGfx::EquationType
strong
Enumerator
Add 
Subtract 
ReverseSubtract 
Min 
Max 

◆ FUNCTYPE

enum class SharpKmyGfx::FUNCTYPE
strong
Enumerator
kNEVER 
kLESS 
kEQUAL 
kLEQUAL 
kGREATER 
kNOTEQUAL 
kGEQUAL 
kALWAYS 

◆ GameViewDrawHookPoint

Enumerator
kAfterOpaque 
kGizmoWithDepth 
kGizmoWithoutDepth 
kAfterUI 
kAfterFinalCopy 

◆ IndexType

enum class SharpKmyGfx::IndexType
strong
Enumerator
U8 
U16 
U32 

◆ ModelBoundSphereDrawType

Enumerator
None 
All 
Selected 

◆ PolygonMode

enum class SharpKmyGfx::PolygonMode
strong
Enumerator
Point 
Line 
Fill 

◆ PrimitiveType

enum class SharpKmyGfx::PrimitiveType
strong
Enumerator
Points 
Lines 
LineStrip 
Triangles 
TriangleStrip 
TriangleFan 

◆ STENCILOP

enum class SharpKmyGfx::STENCILOP
strong
Enumerator
kKEEP 
kREPLACE 
kINC 
kDEC 

◆ TEXTUREFFORMAT

enum class SharpKmyGfx::TEXTUREFFORMAT
strong
Enumerator
kINVALID 
kRGBA 
kRGB8 
kR8 
kR16 
kR16F 
kRGBA16F 
kRGB32F 
kRGBA32F 
kDEPTH16 
kDEPTH24_STENCIL8 
kSHADOW16 
kSRGBA8 
kSRGB8 
kRGB10_A2 
kCOMPRESSED_RGB 
kCOMPRESSED_SRGB 
kCOMPRESSED_RGBA1 
kCOMPRESSED_SRGBA1 
kCOMPRESSED_RGBA8 
kCOMPRESSED_SRGBA8 
kCOMPRESSED_BC1 
kCOMPRESSED_BC1S 
kCOMPRESSED_BC3 
kCOMPRESSED_BC3S 
kCOMPRESSED_BC5 
kCOMPRESSED_BC6 
kCOUNT 

◆ TEXTUREFILTER

enum class SharpKmyGfx::TEXTUREFILTER
strong
Enumerator
kNEAREST 
kBILINEAR 

◆ TEXTURESHAPE

enum class SharpKmyGfx::TEXTURESHAPE
strong
Enumerator
k2D 
kCube 
k3D 

◆ TEXTUREUSAGE

enum class SharpKmyGfx::TEXTUREUSAGE
strong
Enumerator
kDefault 
kNormal 
k2D 

◆ UNIFORMPARAMTYPE

enum class SharpKmyGfx::UNIFORMPARAMTYPE
strong
Enumerator
kFLOAT 
kVEC2 
kVEC3 
kVEC4 
kCOLOR3 
kCOLOR4 
kMATRIX 
kINT 
kINT2 
kINT3 
kBOOL 
kBOOL_TRIGGER 
kENUM 
kENUM_TRIGGER 
kTEXTURE 
kINVALID 

◆ WRAPTYPE

enum class SharpKmyGfx::WRAPTYPE
strong
Enumerator
kREPEAT 
kCLAMP 
kMIRROR 

Function Documentation

◆ callback()

void SharpKmyGfx::callback ( float  delta,
void *  param,
kmyGfx::FixedUpdateCallbackType  type 
)

◆ emoteDrawFunc()

static void SharpKmyGfx::emoteDrawFunc ( void *  param,
const int *  viewport,
void *  gfxPtr 
)
static

◆ EmoteDrawFunc()

static void SharpKmyGfx::EmoteDrawFunc ( void *  ptr,
const int *  viewport,
void *  gfxPtr 
)
static

◆ getModelNodeMatrix()

static kmyMath::Matrix4 SharpKmyGfx::getModelNodeMatrix ( kmyGfx::ModelData *  mdl,
kmyGfx::nodeInfo *  node 
)
static

◆ getParamType()

static UNIFORMPARAMTYPE SharpKmyGfx::getParamType ( kmyGfx::UniformInfoItem *  i)
static

◆ screenShotCallback()

static void SharpKmyGfx::screenShotCallback ( int  w,
int  h,
void *  buffer,
const char *  path 
)
static

Variable Documentation

◆ sEmoteInit

bool SharpKmyGfx::sEmoteInit = false
static

◆ shapeTypeTbl

kmyGfx::TEXTURETYPE SharpKmyGfx::shapeTypeTbl[]
static
Initial value:
= {
kmyGfx::kTEXTURETYPE_2D,
kmyGfx::kTEXTURETYPE_CUBE,
kmyGfx::kTEXTURETYPE_3D,
}