186 static_assert(
sizeof(
Stats) == 0x14);
257 static_assert(
sizeof(
Cxform) == 0x20);
298 static_assert(
sizeof(
UserData) == 0x20);
422 virtual void DrawIndexedTriList(std::int32_t a_baseVertexIndex, std::int32_t a_minVertexIndex, std::int32_t a_numVertices, std::int32_t a_startIndex, std::int32_t a_triangleCount) = 0;
423 virtual void DrawLineStrip(std::int32_t a_baseVertexIndex, std::int32_t a_lineCount) = 0;
439 virtual void GetStats(GStatBag* a_bag,
bool a_reset =
true) = 0;
451 static_assert(
sizeof(
GRenderer) == 0x38);
Definition GRefCountBase.h:12
Definition GRenderer.h:207
CacheProvider(CachedData *a_cache)
CachedData * data
Definition GRenderer.h:217
CachedData * CreateCachedData(CachedDataType a_type, GRenderer *a_renderer, bool a_keepSharedData=true)
CachedData * GetCachedData(GRenderer *a_renderer)
bool discardSharedData
Definition GRenderer.h:218
std::uint8_t pad11
Definition GRenderer.h:219
std::uint32_t pad14
Definition GRenderer.h:221
std::uint16_t pad12
Definition GRenderer.h:220
Definition GRenderer.h:189
GRenderer * GetRenderer() const
GRenderer * renderer
Definition GRenderer.h:201
void ReleaseDataByRenderer()
Handle GetRendererData() const
void SetRendererData(Handle a_handle)
Handle data
Definition GRenderer.h:202
void ReleaseData(CachedDataType a_type)
Definition GRenderer.h:173
std::uint32_t primitives
Definition GRenderer.h:182
std::uint32_t lines
Definition GRenderer.h:181
std::uint32_t triangles
Definition GRenderer.h:180
std::uint32_t filters
Definition GRenderer.h:184
std::uint32_t masks
Definition GRenderer.h:183
Definition GRendererEventHandler.h:13
Definition GRenderer.h:19
BitmapWrapMode
Definition GRenderer.h:121
virtual void PopUserData()
virtual void PopRenderTarget()=0
virtual bool PushUserData(UserData *a_data)
virtual void GetStats(GStatBag *a_bag, bool a_reset=true)=0
virtual void DrawLineStrip(std::int32_t a_baseVertexIndex, std::int32_t a_lineCount)=0
virtual bool GetRenderCaps(RenderCaps *a_caps)=0
virtual std::uint32_t CheckFilterSupport(const BlurFilterParams &a_params)=0
virtual void SetStereoParams(StereoParams a_params)
virtual void DrawDistanceFieldBitmaps(BitmapDesc *a_bitmapList, std::int32_t a_listSize, std::int32_t a_startIndex, std::int32_t a_count, const GTexture *a_texture, const Matrix &a_matrix, const DistanceFieldParams &a_params, CacheProvider *a_cache=0)
virtual void FillStyleGouraud(GouraudFillType a_fillType, const FillTexture *a_texture0=0, const FillTexture *a_texture1=0, const FillTexture *a_texture2=0)=0
virtual void SetWorld3D(const GMatrix3D *a_worldMatIn)=0
virtual void SetStereoDisplay(StereoDisplay a_display, bool a_setstate=false)
virtual void BeginSubmitMask(SubmitMaskMode a_maskMode=SubmitMaskMode::kClear)=0
virtual void PopBlendMode()=0
CachedDataType
Definition GRenderer.h:106
virtual void SetDisplayRenderTarget(GRenderTarget *a_renderTarget, bool a_setstate=true)=0
RenderCapBits
Definition GRenderer.h:70
@ kThreadedTextureCreation
virtual void DrawIndexedTriList(std::int32_t a_baseVertexIndex, std::int32_t a_minVertexIndex, std::int32_t a_numVertices, std::int32_t a_startIndex, std::int32_t a_triangleCount)=0
virtual void EndDisplay()=0
BitmapSampleMode
Definition GRenderer.h:127
virtual bool AddEventHandler(GRendererEventHandler *a_handler)
virtual GTexture * CreateTextureYUV()=0
BlendType
Definition GRenderer.h:27
virtual void RemoveEventHandler(GRendererEventHandler *a_handler)
virtual void SetVertexData(const void *a_vertices, std::int32_t a_numVertices, VertexFormat a_vtxFmt, CacheProvider *a_cache=0)=0
virtual void FillStyleBitmap(const FillTexture *a_fill)=0
virtual GTexture * PushTempRenderTarget(const GRectF &a_frameRect, std::uint32_t a_targetW, std::uint32_t a_targetH)=0
stl::enumeration< StereoDisplay, std::uint32_t > s3DDisplay
Definition GRenderer.h:449
virtual void SetMatrix(const Matrix &a_matrix)=0
virtual void FillStyleDisable()=0
GouraudFillType
Definition GRenderer.h:133
SubmitMaskMode
Definition GRenderer.h:143
void FillStyleBitmap(GTexture *a_texture, const Matrix &a_matrix, BitmapWrapMode a_wrapMode, BitmapSampleMode a_sampleMode)
virtual void EndSubmitMask()=0
FilterSupport
Definition GRenderer.h:165
virtual GTexture * CreateTexture()=0
StereoParams s3DParams
Definition GRenderer.h:448
virtual void DrawBitmaps(BitmapDesc *a_bitmapList, std::int32_t a_listSize, std::int32_t a_startIndex, std::int32_t a_count, const GTexture *a_texture, const Matrix &a_matrix, CacheProvider *a_cache=0)=0
FilterModes
Definition GRenderer.h:150
VertexFormat
Definition GRenderer.h:54
virtual void FillStyleColor(GColor a_color)=0
virtual void SetPerspective3D(const GMatrix3D &a_projMatIn)=0
virtual void ReleaseTempRenderTargets(std::uint32_t a_keepArea)
virtual void ReleaseCachedData(CachedData *a_data, CachedDataType a_type)=0
virtual void PushRenderTarget(const GRectF &a_frameRect, GRenderTarget *a_renderTarget)=0
virtual void BeginDisplay(GColor a_backgroundColor, const GViewport &a_viewport, float a_x0, float a_x1, float a_y0, float a_y1)=0
virtual void ReleaseResources()=0
virtual void GetRenderStats(Stats *a_stats, bool a_resetStats=0)=0
GList< GRendererEventHandler > handlers
Definition GRenderer.h:447
virtual void SetIndexData(const void *a_indices, std::int32_t a_numIndices, IndexFormat a_idxFmt, CacheProvider *a_cache=0)=0
IndexFormat
Definition GRenderer.h:63
virtual void BeginFrame()
virtual void DrawBlurRect(GTexture *a_srcIn, const GRectF &a_inSrcRect, const GRectF &a_inDstRect, const BlurFilterParams &a_params)=0
ResizeImageType
Definition GRenderer.h:46
UserDataPropertyFlag
Definition GRenderer.h:113
virtual void SetUserMatrix(const Matrix &a_matrix)=0
virtual void MakeViewAndPersp3D(const GRectF &a_visFrameRectInTwips, GMatrix3D &a_matView, GMatrix3D &a_matPersp, float a_perspFOV, bool a_InvertY=false)
virtual void DrawColorMatrixRect(GTexture *a_srcIn, const GRectF &a_inSrcRect, const GRectF &a_dstRect, const float *a_matrix)=0
virtual void SetView3D(const GMatrix3D &a_viewMatIn)=0
void * Handle
Definition GRenderer.h:21
virtual void LineStyleColor(GColor a_color)=0
StereoDisplay
Definition GRenderer.h:99
virtual void LineStyleDisable()=0
virtual void DisableMask()=0
virtual void PushBlendMode(BlendType a_mode)=0
virtual GRenderTarget * CreateRenderTarget()=0
virtual void SetCxform(const Cxform &a_cxForm)=0
Definition AbsorbEffect.h:6
GPoint< float > GPointF
Definition GPoint.h:20
GRect< float > GRectF
Definition GRect.h:16
Definition GRenderer.h:352
GColor Color
Definition GRenderer.h:357
Rect Coords
Definition GRenderer.h:355
Rect TextureCoords
Definition GRenderer.h:356
Definition GRenderer.h:375
std::uint32_t passes
Definition GRenderer.h:381
float blurX
Definition GRenderer.h:379
GColor color2
Definition GRenderer.h:384
float blurY
Definition GRenderer.h:380
GColor color
Definition GRenderer.h:383
std::uint32_t mode
Definition GRenderer.h:378
float strength
Definition GRenderer.h:385
Cxform cxform
Definition GRenderer.h:386
GPointF offset
Definition GRenderer.h:382
Definition GRenderer.h:362
GColor shadowColor
Definition GRenderer.h:367
float glowSize[2]
Definition GRenderer.h:370
GColor glowColor
Definition GRenderer.h:369
GPointF shadowOffset
Definition GRenderer.h:368
float width
Definition GRenderer.h:365
float shadowWidth
Definition GRenderer.h:366
Definition GRenderer.h:301
Matrix textureMatrix
Definition GRenderer.h:305
GTexture * texture
Definition GRenderer.h:304
stl::enumeration< BitmapSampleMode, std::uint32_t > sampleMode
Definition GRenderer.h:307
stl::enumeration< BitmapWrapMode, std::uint32_t > wrapMode
Definition GRenderer.h:306
Definition GRenderer.h:274
std::uint32_t maxTextureSize
Definition GRenderer.h:280
stl::enumeration< RenderCapBits, std::uint32_t > capBits
Definition GRenderer.h:277
std::uint32_t blendModes
Definition GRenderer.h:279
std::uint32_t vertexFormats
Definition GRenderer.h:278
Definition GRenderer.h:260
float eyeSeparationCm
Definition GRenderer.h:269
float displayDiagInches
Definition GRenderer.h:267
float distortion
Definition GRenderer.h:266
float displayAspectRatio
Definition GRenderer.h:268
float displayWidthCm
Definition GRenderer.h:265
Definition GRenderer.h:285
std::uint16_t pad1E
Definition GRenderer.h:296
const char * string
Definition GRenderer.h:290
float * matrix
Definition GRenderer.h:292
std::uint32_t matrixSize
Definition GRenderer.h:293
stl::enumeration< UserDataPropertyFlag, std::uint8_t > propFlags
Definition GRenderer.h:294
std::uint8_t pad1D
Definition GRenderer.h:295
float * flt
Definition GRenderer.h:291
Definition GRenderer.h:321
std::int16_t x
Definition GRenderer.h:329
std::int16_t y
Definition GRenderer.h:330
std::uint32_t color
Definition GRenderer.h:331
Definition GRenderer.h:336
std::uint32_t color
Definition GRenderer.h:346
std::uint32_t factors
Definition GRenderer.h:347
std::int16_t y
Definition GRenderer.h:345
std::int16_t x
Definition GRenderer.h:344
Definition GRenderer.h:312
std::int16_t y
Definition GRenderer.h:316
std::int16_t x
Definition GRenderer.h:315