#include <AuxGeomDrawQueue.h>
Inherits AZ::RPI::AuxGeomDraw.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (AuxGeomDrawQueue, AZ::SystemAllocator) | |
int32_t | AddViewProjOverride (const AZ::Matrix4x4 &viewProj) override |
int32_t | GetOrAdd2DViewProjOverride () override |
void | SetPointSize (float pointSize) override |
float | GetPointSize () override |
void | DrawPoints (const AuxGeomDynamicDrawArguments &args) override |
void | DrawLines (const AuxGeomDynamicDrawArguments &args) override |
void | DrawLines (const AuxGeomDynamicIndexedDrawArguments &args) override |
void | DrawPolylines (const AuxGeomDynamicDrawArguments &args, PolylineEnd end=PolylineEnd::Open) override |
void | DrawTriangles (const AuxGeomDynamicDrawArguments &args, FaceCullMode faceCull=FaceCullMode::None) override |
void | DrawTriangles (const AuxGeomDynamicIndexedDrawArguments &args, FaceCullMode faceCull=FaceCullMode::None) override |
void | DrawQuad (float width, float height, const AZ::Matrix3x4 &transform, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawSphere (const AZ::Vector3 ¢er, float radius, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawSphere (const AZ::Vector3 ¢er, const AZ::Vector3 &direction, float radius, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawHemisphere (const AZ::Vector3 ¢er, const AZ::Vector3 &direction, float radius, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawDisk (const AZ::Vector3 ¢er, const AZ::Vector3 &direction, float radius, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawCone (const AZ::Vector3 ¢er, const AZ::Vector3 &direction, float radius, float height, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawCylinder (const AZ::Vector3 ¢er, const AZ::Vector3 &direction, float radius, float height, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawCylinderNoEnds (const AZ::Vector3 ¢er, const AZ::Vector3 &direction, float radius, float height, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawAabb (const AZ::Aabb &aabb, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawAabb (const AZ::Aabb &aabb, const AZ::Matrix3x4 &transform, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawObb (const AZ::Obb &obb, const AZ::Vector3 &position, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawObb (const AZ::Obb &obb, const AZ::Matrix3x4 &transform, const AZ::Color &color, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
void | DrawFrustum (const AZ::Frustum &frustum, const AZ::Color &color, bool drawNormals, DrawStyle style, DepthTest depthTest, DepthWrite depthWrite, FaceCullMode faceCull, int32_t viewProjOverrideIndex) override |
AuxGeomBufferData * | Commit () |
Switch clients of AuxGeom to using a different buffer and return the filled buffer for processing. | |
Additional Inherited Members | |
![]() | |
enum class | DrawStyle : uint8_t { Point , Line , Solid , Shaded } |
enum class | DepthTest : uint8_t { On , Off } |
enum class | DepthWrite : uint8_t { On , Off } |
enum class | FaceCullMode : uint8_t { None , Front , Back } |
enum class | PolylineEnd : uint8_t { Open , Closed } |
enum class | OpacityType : uint8_t { Opaque , Translucent } |
Class that stores up AuxGeom draw requests for one RPI scene. This acts somewhat like a render proxy in that it stores data that is consumed by the feature processor.
|
overridevirtual |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw an axis-aligned bounding box with no transform.
aabb | The AABB (typically the bounding box of a set of world space points). |
color | The color to draw the box. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a cone.
center | The center of the cone base. |
direction | The direction vector. This is the vector from the center of the base to the point at the tip. |
radius | The radius. |
height | The height of the cone (the distance from the base center to the tip). |
color | The color to draw the cone. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a cylinder (with flat disks on the end).
center | The center of the base circle. |
direction | The direction vector. The top end cap of the cylinder will face along this vector. |
radius | The radius. |
height | The height of the cylinder. |
color | The color to draw the cylinder. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a cylinder without flat disk on the end.
center | The center of the base circle. |
direction | The direction vector. The top end cap of the cylinder will face along this vector. |
radius | The radius. |
height | The height of the cylinder. |
color | The color to draw the cylinder. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a disk.
center | The center of the disk. |
direction | The direction vector. The disk will be orthogonal this vector. |
radius | The radius of the disk. |
color | The color to draw the disk. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a frustum.
frustum | The frustum |
color | The color to draw the frustum |
drawNormals | If true, frustum plane normals will be drawn as lines |
style | The draw style (point, wireframe, solid) Shaded not currently supported. |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a hemisphere.
center | The center of the sphere. |
direction | The direction vector. The Pole of the hemisphere will point along this vector. |
radius | The radius. |
color | The color to draw the sphere. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw an oriented bounding box with a given position.
obb | The OBB (typically an oriented bounding box in model space). |
position | The position to translate the origin of the OBB to. |
color | The color to draw the box. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
closed | If true then a line will be drawn from the last point to the first. |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a quad.
width | The width of the quad. |
height | The height of the quad. |
transform | The world space transform for the quad. |
color | The color to draw the quad. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a sphere.
center | The center of the sphere. |
direction | The direction vector. The Pole of the hemisphere will point along this vector. |
radius | The radius. |
color | The color to draw the sphere. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Draw a sphere.
center | The center of the sphere. |
radius | The radius. |
color | The color to draw the sphere. |
style | The draw style (point, wireframe, solid, shaded etc). |
depthTest | If depth testing should be enabled |
depthWrite | If depth writing should be enabled |
faceCull | Which (if any) facing triangles should be culled |
viewProjOverrideIndex | Which view projection override entry to use, -1 if unused |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
faceCull | Which (if any) facing triangles should be culled |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Implements AZ::RPI::AuxGeomDraw.
|
overridevirtual |
Implements AZ::RPI::AuxGeomDraw.